Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009681/0.0009681, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.85/0.85, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 75.09 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6655, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002229/0.6677, allocations: 0.6916 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.6689, allocations: 0.859 MB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.669, allocations: 0 / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.669, allocations: 4.5 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.6691, allocations: 4.688 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.6694, allocations: 31.38 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.6695, allocations: 44.34 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.6696, allocations: 9.688 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.6697, allocations: 18.5 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.6697, allocations: 33.36 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.6697, allocations: 4.531 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.6697, allocations: 4.188 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.6698, allocations: 11.33 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.6698, allocations: 13.92 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.6699, allocations: 52.08 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6699, allocations: 0.7031 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6699, allocations: 0 / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6699, allocations: 0 / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004537/0.6704, allocations: 281.1 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6704, allocations: 14.38 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.6705, allocations: 35.97 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.6705, allocations: 3.25 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.6706, allocations: 116.7 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.6706, allocations: 6.75 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.6706, allocations: 11.78 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.6708, allocations: 66.14 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.6708, allocations: 0 / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.6708, allocations: 0.6562 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.6708, allocations: 3.531 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.6709, allocations: 50.48 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.6713, allocations: 264.2 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.6715, allocations: 60.81 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.6716, allocations: 29.11 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.6716, allocations: 1.5 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.6716, allocations: 33.91 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.6716, allocations: 4 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003521/0.672, allocations: 109 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.672, allocations: 51.41 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.6721, allocations: 106.6 kB / 0.8203 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.6721, allocations: 29.55 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.6722, allocations: 89.97 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.6722, allocations: 6.031 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.6722, allocations: 19.52 kB / 0.8205 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.6723, allocations: 326.2 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.6724, allocations: 22.36 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.6725, allocations: 24.86 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.6726, allocations: 51.55 kB / 0.8209 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6726, allocations: 0 / 0.8209 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000173/0.6728, allocations: 87.69 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6728, allocations: 13.41 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6728, allocations: 4 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.6728, allocations: 336 / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6729, allocations: 9.797 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.6729, allocations: 1.016 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.673, allocations: 8.312 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.673, allocations: 6.734 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.787e-05/0.6731, allocations: 117.5 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.6731, allocations: 1.578 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.6731, allocations: 14.92 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.6731, allocations: 0 / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.6731, allocations: 0.5156 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6731, allocations: 0 / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.6733, allocations: 146.6 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6733, allocations: 0 / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.6734, allocations: 12.23 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6734, allocations: 3.938 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6734, allocations: 1.719 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.6734, allocations: 3.984 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6734, allocations: 5.125 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.6736, allocations: 184.1 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.6736, allocations: 11.88 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.6737, allocations: 0.5156 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.6737, allocations: 10.28 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.6738, allocations: 9.547 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.6738, allocations: 3.406 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.6738, allocations: 90.8 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6738, allocations: 0 / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001527/0.674, allocations: 19.47 kB / 0.8216 GB, free: 13.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005034/0.6745, allocations: 0.7034 MB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.6747, allocations: 54.61 kB / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6747, allocations: 0 / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.6748, allocations: 34.69 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.6752, allocations: 11.05 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.6768, allocations: 1.33 MB / 0.8237 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.6768, allocations: 63.5 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.073e-05/0.6769, allocations: 10.39 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.677, allocations: 16.17 kB / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 2.094e-06/0.677, allocations: 0 / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.6993, allocations: 2.419 MB / 0.8261 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/7.542, allocations: 9.641 kB / 0.8261 GB, free: 10.97 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.769793959334493] Failed to read output from testmodel.py, exit status != 0: 7.620876665692776 7.634238884 6.960480187 Calling exit ...