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.0007714/0.0007714, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.000864/0.000864, allocations: 217.2 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9882/0.9882, allocations: 230.6 MB / 256 MB, free: 9.781 MB / 202.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.8125/0.8125, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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: 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.0009514/0.0009514, allocations: 72.44 kB / 0.7183 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5798, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00168/0.5815, allocations: 0.6608 MB / 0.8185 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.5823, allocations: 0.8492 MB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.5824, allocations: 6.281 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.5824, allocations: 0.6562 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.5825, allocations: 3.938 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.5826, allocations: 13.72 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.5827, allocations: 23.94 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.5828, allocations: 4.891 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.5828, allocations: 9.094 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.5829, allocations: 14.53 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.5829, allocations: 0 / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.5829, allocations: 12.16 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.583, allocations: 6.672 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.583, allocations: 6.375 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.5831, allocations: 31.56 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5831, allocations: 0 / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5831, allocations: 4 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.5831, allocations: 0.5625 kB / 0.8195 GB, free: 120 kB / 0.6042 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.000372/0.5835, allocations: 266.9 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5836, allocations: 8.562 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.5836, allocations: 31.45 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.5837, allocations: 6.734 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.5838, allocations: 111.9 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5838, allocations: 1.5 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.5838, allocations: 7.875 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.584, allocations: 52.22 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.584, allocations: 3.938 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.584, allocations: 0 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.584, allocations: 0 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.5841, allocations: 32.06 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.5844, allocations: 225.4 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.5845, allocations: 36.7 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.5846, allocations: 24.73 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5846, allocations: 0 / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5846, allocations: 31.45 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.5846, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.00023/0.5848, allocations: 88.7 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5849, allocations: 52.02 kB / 0.8204 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.585, allocations: 103.6 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.585, allocations: 26.41 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.585, allocations: 84.83 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.585, allocations: 3.953 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.585, allocations: 22.23 kB / 0.8207 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.5851, allocations: 316.2 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.5852, allocations: 14.52 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.5852, allocations: 16.75 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.727e-05/0.5853, allocations: 42.61 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5853, allocations: 3.938 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/0.5854, allocations: 72.41 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5854, allocations: 3.594 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5854, allocations: 0.7031 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.5855, allocations: 0 / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.5855, allocations: 10.7 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5855, allocations: 0 / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.5856, allocations: 14.34 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5856, allocations: 0.5625 kB / 0.8212 GB, free: 14.55 MB / 0.6198 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 6.94e-05/0.5856, allocations: 118.2 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.5857, allocations: 0 / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.5858, allocations: 80.16 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5858, allocations: 0 / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5858, allocations: 0 / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5858, allocations: 4.734 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.5859, allocations: 134.4 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5859, allocations: 0 / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.586, allocations: 13.41 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.586, allocations: 1.156 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.586, allocations: 0 / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.586, allocations: 1.156 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.586, allocations: 0.5625 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.5861, allocations: 165 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.5861, allocations: 16.2 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.5862, allocations: 0 / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.5862, allocations: 5.641 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.5862, allocations: 1.312 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.5862, allocations: 1.594 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.5863, allocations: 85.12 kB / 0.8218 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5863, allocations: 4.031 kB / 0.8218 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001412/0.5864, allocations: 3.781 kB / 0.8218 GB, free: 13.98 MB / 0.6198 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.0003591/0.5868, allocations: 0.686 MB / 0.8224 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.5869, allocations: 52.23 kB / 0.8225 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5869, allocations: 0 / 0.8225 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.5869, allocations: 14.7 kB / 0.8225 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.5872, allocations: 5.719 kB / 0.8225 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.5876, allocations: 136.9 kB / 0.8226 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.5878, allocations: 0.6769 MB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.5878, allocations: 0.5625 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.5879, allocations: 9.797 kB / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5879, allocations: 0 / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.6088, allocations: 1.386 MB / 0.8247 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/7.142, allocations: 1.062 kB / 0.8247 GB, free: 12.02 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.247149089118466] Failed to read output from testmodel.py, exit status != 0: 7.227687944890931 7.245585736 6.659272284 Calling exit ...