Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0008256/0.0008256, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008805/0.0008805, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7331/0.7331, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.Exp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.551e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001372/0.001398, allocations: 0.6451 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.002211, allocations: 0.8315 MB / 0.6196 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.002246, allocations: 0 / 0.6196 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002274, allocations: 7.922 kB / 0.6196 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.002337, allocations: 7.938 kB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.002538, allocations: 11.88 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.002613, allocations: 27.86 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.002705, allocations: 4 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.002778, allocations: 11.98 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.002809, allocations: 11.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.002825, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.002874, allocations: 15.92 kB / 0.6197 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.002888, allocations: 0 / 0.6197 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.002914, allocations: 4 kB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.003019, allocations: 23.95 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.003022, allocations: 0 / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.81e-07/0.003023, allocations: 0 / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.003029, allocations: 0 / 0.6197 GB, free: 12.08 MB / 0.5886 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.0003486/0.003377, allocations: 262.3 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.003417, allocations: 13.47 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.003444, allocations: 34.75 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.003521, allocations: 12.83 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.717e-05/0.003598, allocations: 109.8 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.003609, allocations: 4.375 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.003617, allocations: 384 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.003744, allocations: 50.19 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.003751, allocations: 192 / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.00376, allocations: 4.359 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003766, allocations: 4.125 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.003851, allocations: 39.97 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.004122, allocations: 212.1 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.004204, allocations: 34.56 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.004253, allocations: 20.84 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.004272, allocations: 4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004292, allocations: 38.5 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.004294, allocations: 4 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002086/0.004502, allocations: 81.59 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.004527, allocations: 51.41 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.004579, allocations: 101.8 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.004587, allocations: 25.7 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.004618, allocations: 88.12 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.004633, allocations: 7.953 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.004656, allocations: 13.84 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.004723, allocations: 322.8 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.004765, allocations: 15.98 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.004801, allocations: 15.98 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.17e-05/0.004883, allocations: 36.81 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004885, allocations: 0 / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.725e-05/0.004982, allocations: 77.61 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.004994, allocations: 6.188 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.005, allocations: 4 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.005009, allocations: 0 / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.005064, allocations: 7.984 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.005069, allocations: 3.938 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.005091, allocations: 7.984 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005096, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 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 5.107e-05/0.005147, allocations: 114.9 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.005158, allocations: 7.875 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.005281, allocations: 72.97 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005282, allocations: 0 / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005286, allocations: 0 / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005289, allocations: 3.984 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/0.005379, allocations: 124.7 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005381, allocations: 0 / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.005406, allocations: 16.02 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.005408, allocations: 3.938 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.005413, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005414, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005415, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.005533, allocations: 167.4 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.00554, allocations: 8.125 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.005548, allocations: 0 / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.005584, allocations: 11.97 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.005612, allocations: 4.031 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.005617, allocations: 8 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.00564, allocations: 79.27 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00564, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001421/0.005782, allocations: 4 kB / 0.6219 GB, free: 9.512 MB / 0.5886 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.0003045/0.006087, allocations: 0.6967 MB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.006213, allocations: 39.98 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006215, allocations: 0 / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.006253, allocations: 19.98 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.00649, allocations: 4 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.006828, allocations: 126.6 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.006873, allocations: 63.28 kB / 0.6228 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.006893, allocations: 4.125 kB / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.006932, allocations: 16.5 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.006932, allocations: 0 / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.02113, allocations: 1.918 MB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.956, allocations: 7.625 kB / 0.6247 GB, free: 6.676 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.604250962845981] Failed to read output from testmodel.py, exit status != 0: 7.036329346708953 7.045493799 7.040735344 Calling exit ...