Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001076/0.001076, 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.0009994/0.0009994, allocations: 170 kB / 22.43 MB, free: 2.141 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.8861/0.8861, allocations: 177.2 MB / 202.8 MB, free: 5.766 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.7034/0.7034, allocations: 155 MB / 414.2 MB, free: 492 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.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_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.001089/0.001089, allocations: 74.45 kB / 0.6187 GB, free: 13.22 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.4431/0.4442, allocations: 102 MB / 0.7183 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001329/0.4455, allocations: 0.6904 MB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.4462, allocations: 0.8623 MB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.4462, allocations: 1.25 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.4462, allocations: 4.5 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.4463, allocations: 5.641 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.4464, allocations: 19.19 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.4465, allocations: 44.38 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.4466, allocations: 14.73 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.4467, allocations: 34.7 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.4467, allocations: 20.7 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.4467, allocations: 4.844 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.4468, allocations: 3.656 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.4468, allocations: 15.38 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.4468, allocations: 17.38 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.4469, allocations: 49.98 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4469, allocations: 0 / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4469, allocations: 0 / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.4469, allocations: 0 / 0.72 GB, free: 21.98 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.0003486/0.4473, allocations: 295.5 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4473, allocations: 10.19 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.222e-05/0.4473, allocations: 33.55 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.4473, allocations: 7.734 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.943e-05/0.4474, allocations: 114.7 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4474, allocations: 11.19 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4474, allocations: 5.969 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.4476, allocations: 64.06 kB / 0.7205 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.4476, allocations: 1.531 kB / 0.7205 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.4476, allocations: 4 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4476, allocations: 6.016 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.4477, allocations: 54.91 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.448, allocations: 254.2 kB / 0.7208 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.4481, allocations: 60.78 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.4482, allocations: 27.73 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4482, allocations: 1.469 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4482, allocations: 44.36 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.4482, allocations: 0 / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002614/0.4485, allocations: 105.4 kB / 0.721 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.4485, allocations: 52.92 kB / 0.7211 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.325e-05/0.4485, allocations: 111 kB / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.4486, allocations: 26.89 kB / 0.7212 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.4486, allocations: 91.7 kB / 0.7213 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4486, allocations: 13.84 kB / 0.7213 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.4486, allocations: 24.58 kB / 0.7214 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.777e-05/0.4487, allocations: 318 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.4487, allocations: 21.77 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.4488, allocations: 23.8 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.4489, allocations: 54.14 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4489, allocations: 0 / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.449, allocations: 91.56 kB / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.449, allocations: 5.844 kB / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.449, allocations: 0 / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.449, allocations: 1.156 kB / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.4491, allocations: 11.02 kB / 0.7219 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4491, allocations: 1.125 kB / 0.7219 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.4491, allocations: 12.69 kB / 0.7219 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.4491, allocations: 2.078 kB / 0.7219 GB, free: 20.32 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,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 4.349e-05/0.4492, allocations: 119.4 kB / 0.722 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.4492, allocations: 6.156 kB / 0.722 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.4492, allocations: 10.45 kB / 0.722 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4492, allocations: 1.125 kB / 0.722 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4492, allocations: 0 / 0.722 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4492, allocations: 5.562 kB / 0.722 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.109e-05/0.4493, allocations: 140.2 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4493, allocations: 0 / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.4494, allocations: 12.09 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4494, allocations: 1.484 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4494, allocations: 4.688 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.4494, allocations: 5.062 kB / 0.7222 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4494, allocations: 0.5156 kB / 0.7222 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.4495, allocations: 184.5 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.4495, allocations: 2.906 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.4495, allocations: 0.6562 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/0.4496, allocations: 8.875 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4496, allocations: 11.48 kB / 0.7224 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.4496, allocations: 9.859 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.969e-05/0.4496, allocations: 88.2 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4496, allocations: 7.938 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001423/0.4498, allocations: 10.55 kB / 0.7225 GB, free: 19.76 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 (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.0002352/0.45, allocations: 0.712 MB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.4502, allocations: 51.75 kB / 0.7232 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.4502, allocations: 0 / 0.7232 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/0.4502, allocations: 42.16 kB / 0.7233 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4504, allocations: 10.05 kB / 0.7233 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.4513, allocations: 1.319 MB / 0.7246 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.4513, allocations: 65.58 kB / 0.7246 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.4513, allocations: 8.531 kB / 0.7246 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.4514, allocations: 22.95 kB / 0.7246 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4514, allocations: 0 / 0.7246 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.4679, allocations: 2.55 MB / 0.7271 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.582/7.049, allocations: 8.656 kB / 0.7271 GB, free: 16.84 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.670698765898123] Failed to read output from testmodel.py, exit status != 0: 7.125972885871306 7.136990761 6.688386078 Calling exit ...