Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0008511/0.0008511, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001416/0.001416, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9126/0.9126, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7042/0.7042, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.106e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001129/0.00115, allocations: 0.6846 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.001937, allocations: 0.8314 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.00198, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.002017, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.002092, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.002227, allocations: 19.97 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.002327, allocations: 43.84 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.002464, allocations: 8 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.002571, allocations: 31.84 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.002622, allocations: 11.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.002651, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.002664, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.002686, allocations: 11.94 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.002715, allocations: 15.97 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.002824, allocations: 39.88 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002826, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.884e-06/0.002828, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.002833, allocations: 0 / 0.6198 GB, free: 11.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004706/0.003304, allocations: 290.2 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.003362, allocations: 9.469 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.003399, allocations: 30.75 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.003427, allocations: 12.89 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.003528, allocations: 109.8 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.003542, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.003553, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.003757, allocations: 78.14 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.003766, allocations: 192 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003776, allocations: 384 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.003783, allocations: 4.125 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.003933, allocations: 67.92 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.004295, allocations: 228.1 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.004411, allocations: 50.53 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.004483, allocations: 40.86 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.004503, allocations: 7.938 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.00452, allocations: 34.56 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.004521, allocations: 0 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002883/0.004809, allocations: 125.6 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.004839, allocations: 55.41 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.004898, allocations: 109.8 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.004913, allocations: 33.64 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.004949, allocations: 92.09 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.004966, allocations: 11.88 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.004992, allocations: 17.72 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.005064, allocations: 314.8 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.005135, allocations: 35.95 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.005195, allocations: 27.97 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.005322, allocations: 72.78 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005324, allocations: 3.938 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001566/0.00548, allocations: 105.8 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.005492, allocations: 4 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005497, allocations: 4 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.005507, allocations: 0 / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.005585, allocations: 19.97 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.00559, allocations: 3.938 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.005624, allocations: 11.98 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.005631, allocations: 0 / 0.6217 GB, free: 9.781 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 (3): * Single equations (assignments): 3 * 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.459e-05/0.005685, allocations: 114.8 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.005697, allocations: 3.938 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.00589, allocations: 113.6 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005892, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005895, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005898, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.629e-05/0.005994, allocations: 128.8 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.005996, allocations: 3.984 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.006036, allocations: 19.92 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006037, allocations: 4 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.006044, allocations: 4 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006046, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.006049, allocations: 7.938 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.006224, allocations: 191.4 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.00623, allocations: 3.938 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.00624, allocations: 4 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.816e-05/0.006288, allocations: 11.98 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.006323, allocations: 11.98 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006325, allocations: 0 / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.006353, allocations: 87.28 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006353, allocations: 0 / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001333/0.006486, allocations: 4 kB / 0.6224 GB, free: 9 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 (3): * Single equations (assignments): 3 * 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.000343/0.006829, allocations: 0.7357 MB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.007001, allocations: 67.92 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007003, allocations: 0 / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.007207, allocations: 39.89 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.007396, allocations: 12.48 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.007706, allocations: 157.6 kB / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.007746, allocations: 67.28 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.007765, allocations: 0 / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.007809, allocations: 16.5 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.007809, allocations: 0 / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.02278, allocations: 2.319 MB / 0.6257 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.016, allocations: 0.7031 kB / 0.6257 GB, free: 5.656 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.787275199778378] Failed to read output from testmodel.py, exit status != 0: 7.09478254057467 7.105352652 7.100742786 Calling exit ...