Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.0009768/0.0009768, allocations: 76.45 kB / 19.14 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.001057/0.001057, allocations: 165.9 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.8731/0.8731, 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.7052/0.7052, allocations: 155 MB / 414.2 MB, free: 0.4922 MB / 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.Reals.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",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.00152/0.00152, allocations: 67.89 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.4465/0.448, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001435/0.4495, allocations: 0.6498 MB / 0.7189 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008403/0.4503, allocations: 0.8798 MB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.4503, allocations: 1.188 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.4504, allocations: 3.938 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.4505, allocations: 4.75 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.4507, allocations: 13.95 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.4508, allocations: 29.06 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.4509, allocations: 3.25 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.451, allocations: 15.58 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.451, allocations: 8.125 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.4511, allocations: 2.281 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.4511, allocations: 6.25 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.4511, allocations: 5.594 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.4511, allocations: 7.156 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.4512, allocations: 29.5 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4512, allocations: 4.812 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.544e-06/0.4512, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.4512, allocations: 0.8438 kB / 0.7199 GB, free: 21.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003883/0.4516, allocations: 262.1 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4517, allocations: 11.62 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.4517, allocations: 31.72 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.4517, allocations: 6.781 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.873e-05/0.4518, allocations: 109.5 kB / 0.7203 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4518, allocations: 1.344 kB / 0.7203 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4518, allocations: 1.562 kB / 0.7203 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.452, allocations: 54.08 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.452, allocations: 3.938 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.452, allocations: 0 / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.452, allocations: 5.031 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.4521, allocations: 32.8 kB / 0.7204 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.4524, allocations: 211.3 kB / 0.7206 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.4525, allocations: 44.53 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.4525, allocations: 23.12 kB / 0.7207 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4525, allocations: 1.594 kB / 0.7207 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.4525, allocations: 35.91 kB / 0.7207 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.4525, allocations: 0 / 0.7207 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002329/0.4528, allocations: 80.58 kB / 0.7208 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.4528, allocations: 51.53 kB / 0.7209 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.4529, allocations: 106.3 kB / 0.721 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.4529, allocations: 25.7 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.4529, allocations: 86.06 kB / 0.7211 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.4529, allocations: 6.828 kB / 0.7211 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.4529, allocations: 12.7 kB / 0.7211 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.975e-05/0.453, allocations: 317.4 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.453, allocations: 14.42 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.453, allocations: 17.73 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.4531, allocations: 45.44 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4531, allocations: 5 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/0.4532, allocations: 70.25 kB / 0.7215 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4532, allocations: 5.938 kB / 0.7215 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4532, allocations: 1.031 kB / 0.7215 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4533, allocations: 0 / 0.7215 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.4533, allocations: 13.5 kB / 0.7215 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4533, allocations: 0 / 0.7215 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.4534, allocations: 6.375 kB / 0.7216 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4534, allocations: 1.156 kB / 0.7216 GB, free: 20.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.991e-05/0.4534, allocations: 117.7 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.4534, allocations: 1.188 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.4535, allocations: 12.97 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4535, allocations: 0.5625 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4535, allocations: 1.094 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4535, allocations: 4.656 kB / 0.7217 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.4535, allocations: 131.7 kB / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4536, allocations: 1.844 kB / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.4536, allocations: 8.188 kB / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.4536, allocations: 0 / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.4536, allocations: 1.547 kB / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.4536, allocations: 0 / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4536, allocations: 1.828 kB / 0.7218 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4537, allocations: 162.6 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.4537, allocations: 14.61 kB / 0.722 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4537, allocations: 0.75 kB / 0.722 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.4538, allocations: 7.031 kB / 0.722 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.4538, allocations: 6.359 kB / 0.722 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.4538, allocations: 1.031 kB / 0.722 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.938e-05/0.4538, allocations: 87.91 kB / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4538, allocations: 0 / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000137/0.454, allocations: 3.25 kB / 0.7221 GB, free: 19.88 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002468/0.4542, allocations: 0.6948 MB / 0.7228 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.4544, allocations: 35.77 kB / 0.7228 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4544, allocations: 1.156 kB / 0.7228 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.4544, allocations: 27.17 kB / 0.7228 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4547, allocations: 4.688 kB / 0.7228 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.455, allocations: 135.7 kB / 0.723 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.455, allocations: 62.62 kB / 0.723 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.4551, allocations: 1.75 kB / 0.723 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.4551, allocations: 15.61 kB / 0.723 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.4551, allocations: 0 / 0.723 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.4719, allocations: 1.921 MB / 0.7249 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/6.953, allocations: 8.047 kB / 0.7249 GB, free: 18.06 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.633878036169335] Failed to read output from testmodel.py, exit status != 0: 7.031489268876612 7.039412106 6.586403232 Calling exit ...