Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0007968/0.0007968, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008155/0.0008155, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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 0.8682/0.8682, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6736/0.6736, allocations: 155 MB / 414.2 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.001377/0.001377, allocations: 74.34 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4438, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001403/0.4452, allocations: 0.6873 MB / 0.7189 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.446, allocations: 0.8619 MB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.446, allocations: 1.094 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.4461, allocations: 0.6094 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.4461, allocations: 5.719 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.4463, allocations: 34.45 kB / 0.7198 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.4464, allocations: 40.98 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4465, allocations: 9.516 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.4466, allocations: 30.72 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.4466, allocations: 24.17 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.4466, allocations: 8.281 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.4467, allocations: 4.125 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.4467, allocations: 12.42 kB / 0.7199 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.4467, allocations: 13.97 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4468, allocations: 52.92 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4468, allocations: 1.188 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4468, allocations: 0 / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4468, allocations: 0 / 0.72 GB, free: 21.9 MB / 0.6355 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.0004063/0.4473, allocations: 292.3 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4473, allocations: 14.97 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.4473, allocations: 40.53 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.4473, allocations: 7.734 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.4474, allocations: 107.8 kB / 0.7204 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4474, allocations: 9.5 kB / 0.7205 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4474, allocations: 6.219 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4476, allocations: 65.22 kB / 0.7205 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.4476, allocations: 0 / 0.7205 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4476, allocations: 1.094 kB / 0.7205 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4476, allocations: 0 / 0.7205 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.4477, allocations: 57.31 kB / 0.7206 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.448, allocations: 257 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.4482, allocations: 60.97 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.4482, allocations: 28.47 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.4482, allocations: 1.219 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.4483, allocations: 36.52 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4483, allocations: 0 / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002725/0.4485, allocations: 113.2 kB / 0.7211 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.4486, allocations: 53.62 kB / 0.7211 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.4486, allocations: 106.5 kB / 0.7212 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.4486, allocations: 26.77 kB / 0.7212 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.4487, allocations: 90.8 kB / 0.7213 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.4487, allocations: 10.83 kB / 0.7213 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.4487, allocations: 20.34 kB / 0.7213 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.4487, allocations: 321.3 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.4488, allocations: 26.7 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.4489, allocations: 23.31 kB / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.449, allocations: 54.31 kB / 0.7218 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.449, allocations: 0 / 0.7218 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/0.4491, allocations: 87.89 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4491, allocations: 5.719 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4491, allocations: 4.047 kB / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4491, allocations: 4.547 kB / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.4492, allocations: 12.5 kB / 0.7219 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4492, allocations: 0 / 0.7219 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.4493, allocations: 13.36 kB / 0.7219 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4493, allocations: 2.031 kB / 0.7219 GB, free: 20.25 MB / 0.6355 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,intLesThr.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 5.267e-05/0.4493, allocations: 122.8 kB / 0.722 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.4494, allocations: 1.969 kB / 0.722 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.4494, allocations: 6.672 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4494, allocations: 5.031 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4494, allocations: 0 / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4494, allocations: 5.703 kB / 0.722 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/0.4495, allocations: 140 kB / 0.7221 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4495, allocations: 0 / 0.7221 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.4495, allocations: 12.84 kB / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4495, allocations: 0 / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4495, allocations: 6.938 kB / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4495, allocations: 4 kB / 0.7222 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4495, allocations: 0 / 0.7222 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.4497, allocations: 184.4 kB / 0.7223 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.4497, allocations: 3.688 kB / 0.7223 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.4497, allocations: 0.9688 kB / 0.7223 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.4498, allocations: 11.33 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4498, allocations: 12.52 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4498, allocations: 5.719 kB / 0.7224 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.4499, allocations: 88.52 kB / 0.7225 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4499, allocations: 0 / 0.7225 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001456/0.45, allocations: 10.08 kB / 0.7225 GB, free: 19.7 MB / 0.6355 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 (intLesThr.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.0002759/0.4503, allocations: 0.7162 MB / 0.7232 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4504, allocations: 54.59 kB / 0.7232 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4504, allocations: 1.312 kB / 0.7232 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.4505, allocations: 28.47 kB / 0.7232 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4508, allocations: 15.89 kB / 0.7233 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.4517, allocations: 1.319 MB / 0.7246 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.4517, allocations: 65.73 kB / 0.7246 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.551e-05/0.4517, allocations: 8.031 kB / 0.7246 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.4518, allocations: 19.7 kB / 0.7246 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4518, allocations: 0 / 0.7246 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.47, allocations: 2.55 MB / 0.7271 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/7.065, allocations: 8.719 kB / 0.7271 GB, free: 16.78 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.653146252036095] Failed to read output from testmodel.py, exit status != 0: 7.142980953911319 7.150403817 6.701835722 Calling exit ...