Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0009967/0.0009967, 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.001307/0.001307, 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.9242/0.9242, 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.7155/0.7155, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.811e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001314/0.001342, allocations: 0.5408 MB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.822e-05/0.00138, allocations: 4 kB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.001403, allocations: 0 / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.00143, allocations: 4 kB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.543e-05/0.001455, allocations: 3.938 kB / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.077e-05/0.001486, allocations: 7.984 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.001542, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.001586, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.001613, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.901e-05/0.001632, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.001649, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-06/0.001652, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.001665, allocations: 3.938 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.001682, allocations: 4 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.135e-05/0.001734, allocations: 4 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.001736, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.41e-07/0.001736, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.001741, allocations: 4 kB / 0.6186 GB, free: 13.16 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000226/0.001967, allocations: 238.4 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.002004, allocations: 9.469 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.002029, allocations: 30.75 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.681e-05/0.002046, allocations: 0.9375 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.002114, allocations: 109.8 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.002123, allocations: 384 / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.002129, allocations: 4.375 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.478e-05/0.002194, allocations: 30.25 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.0022, allocations: 192 / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.002208, allocations: 8.312 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002213, allocations: 4.125 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.314e-05/0.002226, allocations: 0 / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.002489, allocations: 346.6 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.002545, allocations: 169.2 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.002569, allocations: 88.06 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.002588, allocations: 75.28 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.002617, allocations: 113.7 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.002617, allocations: 4 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.095e-05/0.002668, allocations: 33.7 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.002714, allocations: 126.7 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.002836, allocations: 93.86 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.002845, allocations: 25.7 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.00287, allocations: 84.12 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.002872, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.00289, allocations: 13.7 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.002976, allocations: 322.8 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.002982, allocations: 128 / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/0.002986, allocations: 7.938 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.00301, allocations: 75.28 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.003029, allocations: 75.28 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.425e-05/0.003063, allocations: 33.64 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.003092, allocations: 79.28 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.003112, allocations: 75.28 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.684e-05/0.003158, allocations: 158.5 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.003177, allocations: 79.27 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/0.003211, allocations: 154.5 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.003256, allocations: 83.28 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.003274, allocations: 79.28 kB / 0.6213 GB, free: 10.19 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 (0): * Single equations (assignments): 0 * 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 8.142e-05/0.003355, allocations: 265.3 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.003397, allocations: 108.9 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.003435, allocations: 112.2 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001877/0.003623, allocations: 188.4 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-05/0.003669, allocations: 176.3 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/0.00371, allocations: 184.2 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.003848, allocations: 372.3 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.003875, allocations: 105 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.003902, allocations: 112.9 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.155e-05/0.003944, allocations: 184.2 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.003986, allocations: 180.2 kB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-05/0.004029, allocations: 184.2 kB / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.932e-05/0.004068, allocations: 176.3 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.352e-05/0.004162, allocations: 303.8 kB / 0.6238 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.004195, allocations: 112.9 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.004238, allocations: 180.2 kB / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.004282, allocations: 105 kB / 0.6242 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.004322, allocations: 184.2 kB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.004354, allocations: 101 kB / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.00438, allocations: 87.28 kB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00438, allocations: 3.938 kB / 0.6246 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001553/0.004535, allocations: 0 / 0.6246 GB, free: 6.633 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 (0): * Single equations (assignments): 0 * 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.000238/0.004773, allocations: 0.8047 MB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.005055, allocations: 7.938 kB / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.005057, allocations: 0 / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.005058, allocations: 0 / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.005342, allocations: 461.2 kB / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.006018, allocations: 1.533 MB / 0.6273 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.006053, allocations: 59.34 kB / 0.6274 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.702e-06/0.00606, allocations: 0 / 0.6274 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.006082, allocations: 8.5 kB / 0.6274 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of SimCode: time 4.5e-07/0.006082, allocations: 0 / 0.6274 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.02007, allocations: 1.537 MB / 0.6289 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.941, allocations: 7.562 kB / 0.6289 GB, free: 2.234 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Integers_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.77328543830663] Failed to read output from testmodel.py, exit status != 0: 7.022327293641865 7.037429508 7.032773656 Calling exit ...