Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.0008646/0.0008646, allocations: 109.9 kB / 18.93 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.0009093/0.0009093, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9585/0.9585, allocations: 230.6 MB / 256 MB, free: 9.805 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.8148/0.8148, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",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.0009715/0.0009715, allocations: 71.36 kB / 0.7183 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5619, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001443/0.5634, allocations: 0.7073 MB / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006665/0.564, allocations: 0.8427 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.5641, allocations: 0 / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.5641, allocations: 0 / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.5642, allocations: 16.66 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.915e-05/0.5643, allocations: 12.8 kB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.5643, allocations: 40.98 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.5644, allocations: 4.406 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.5645, allocations: 21.72 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.5645, allocations: 18.78 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.5646, allocations: 8.969 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.5646, allocations: 5.875 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.5646, allocations: 7.969 kB / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.5646, allocations: 24.58 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.135e-05/0.5647, allocations: 44.84 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5647, allocations: 0 / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5647, allocations: 0 / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.5647, allocations: 0 / 0.8196 GB, free: 56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003982/0.5651, allocations: 290.5 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5652, allocations: 14.12 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.5652, allocations: 31.45 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.5652, allocations: 8.391 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.5653, allocations: 107.4 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5653, allocations: 384 / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.5653, allocations: 8.344 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.5655, allocations: 65.14 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5655, allocations: 7.875 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5655, allocations: 8.656 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5655, allocations: 0 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.5657, allocations: 68.23 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.566, allocations: 234.4 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.5662, allocations: 61.81 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.5663, allocations: 35.44 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.5663, allocations: 3.984 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.5663, allocations: 35.11 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5663, allocations: 0 / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003826/0.5667, allocations: 130.7 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5668, allocations: 52.06 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.5672, allocations: 116.8 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5672, allocations: 25.7 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.5672, allocations: 85.34 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.5673, allocations: 17.3 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.5673, allocations: 13.62 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.5674, allocations: 318.4 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.5675, allocations: 31.36 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/0.5676, allocations: 34.5 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5677, allocations: 78.09 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5677, allocations: 4 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001985/0.5679, allocations: 95.2 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5679, allocations: 6.047 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5679, allocations: 4 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.568, allocations: 0 / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5681, allocations: 18.12 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5681, allocations: 3.234 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.5681, allocations: 9.656 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.5681, allocations: 0.625 kB / 0.8215 GB, free: 14.43 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 (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 6.277e-05/0.5682, allocations: 120.9 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.5682, allocations: 9.609 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.5684, allocations: 104.9 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5684, allocations: 1.125 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5684, allocations: 0.7031 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5684, allocations: 1.156 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.5686, allocations: 144.1 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5686, allocations: 0 / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.5686, allocations: 19.22 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5686, allocations: 0.7031 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.5686, allocations: 4 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5686, allocations: 0 / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5686, allocations: 0.7031 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.5688, allocations: 202.6 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.5688, allocations: 3.031 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.5689, allocations: 0 / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.5689, allocations: 18.78 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.5689, allocations: 1.875 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.569, allocations: 0.5625 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.569, allocations: 91.25 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.569, allocations: 0 / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001368/0.5691, allocations: 11.34 kB / 0.8223 GB, free: 13.84 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 (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.0003951/0.5695, allocations: 0.7254 MB / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.5697, allocations: 70.84 kB / 0.823 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5697, allocations: 1.031 kB / 0.823 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.5698, allocations: 33.58 kB / 0.8231 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.5701, allocations: 10.62 kB / 0.8231 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.5706, allocations: 168 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.5708, allocations: 0.6803 MB / 0.8239 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.5708, allocations: 3.094 kB / 0.8239 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.5709, allocations: 16.66 kB / 0.8239 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5709, allocations: 3.125 kB / 0.8239 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.5864, allocations: 1.732 MB / 0.8256 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/7.299, allocations: 6.859 kB / 0.8256 GB, free: 11.82 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min_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_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.396127982065082] Failed to read output from testmodel.py, exit status != 0: 7.380501447943971 7.393767144 6.827117999 Calling exit ...