Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.001138/0.001138, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001667/0.001667, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9689/0.9689, allocations: 230.6 MB / 256 MB, free: 9.598 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.812/0.812, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",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.001325/0.001325, allocations: 66.69 kB / 0.7181 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5568, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001595/0.5584, allocations: 0.5827 MB / 0.8183 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.5598, allocations: 1.138 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.5599, allocations: 0.875 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.5599, allocations: 3.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.56, allocations: 5.641 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.5606, allocations: 115.5 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.5608, allocations: 90.17 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.5609, allocations: 7.016 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.871e-05/0.561, allocations: 41.55 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.5612, allocations: 22.69 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.5612, allocations: 12.22 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.5613, allocations: 19.64 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.5613, allocations: 5.797 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.5613, allocations: 22.47 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.5615, allocations: 85.38 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5615, allocations: 4.547 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5615, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.5615, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004364/0.562, allocations: 299.1 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.562, allocations: 9.281 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.5621, allocations: 40.62 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.5621, allocations: 10.14 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.219e-05/0.5622, allocations: 112.8 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.5622, allocations: 4.344 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.5622, allocations: 3.312 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.5623, allocations: 66.12 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5623, allocations: 3.938 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.5623, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5623, allocations: 0.5312 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.5624, allocations: 11.08 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.5627, allocations: 241.4 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.5627, allocations: 25.3 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.5628, allocations: 7.719 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.5628, allocations: 0 / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.5629, allocations: 90.16 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.5629, allocations: 0 / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001883/0.5631, allocations: 68.94 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.5632, allocations: 53.75 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.5632, allocations: 109.7 kB / 0.821 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.5633, allocations: 25.7 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.5633, allocations: 92.69 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.5633, allocations: 5.516 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.5634, allocations: 29.75 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.5634, allocations: 317.5 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.5635, allocations: 55.84 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.5636, allocations: 78.09 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.5637, allocations: 88.42 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5637, allocations: 4 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002116/0.5639, allocations: 176.4 kB / 0.8218 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.5639, allocations: 38.34 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.564, allocations: 2.359 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.564, allocations: 1.219 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-05/0.564, allocations: 3.094 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.564, allocations: 0.6562 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5642, allocations: 29.11 kB / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.5642, allocations: 9.703 kB / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.102e-05/0.5643, allocations: 122.2 kB / 0.822 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.5643, allocations: 6.594 kB / 0.822 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.5643, allocations: 10.52 kB / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5643, allocations: 0.7969 kB / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5643, allocations: 0 / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5644, allocations: 2.031 kB / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.5645, allocations: 130.8 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5645, allocations: 0.6094 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.5645, allocations: 4 kB / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5645, allocations: 4.703 kB / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5645, allocations: 2.469 kB / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5645, allocations: 0.75 kB / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5645, allocations: 0 / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.5646, allocations: 85.94 kB / 0.8222 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.5646, allocations: 7.625 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5646, allocations: 0.75 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.5646, allocations: 4.703 kB / 0.8223 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.5647, allocations: 4.062 kB / 0.8223 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5647, allocations: 0 / 0.8223 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.5647, allocations: 85.48 kB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5647, allocations: 7.094 kB / 0.8224 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001531/0.5649, allocations: 17.3 kB / 0.8224 GB, free: 13.22 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003332/0.5652, allocations: 0.6115 MB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.5654, allocations: 140.9 kB / 0.8231 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5654, allocations: 1.062 kB / 0.8231 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.5654, allocations: 7.453 kB / 0.8231 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.5656, allocations: 15.64 kB / 0.8231 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5668, allocations: 1.498 MB / 0.8246 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.5669, allocations: 62.19 kB / 0.8246 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.5669, allocations: 2.953 kB / 0.8246 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.567, allocations: 13.23 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.567, allocations: 1.156 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.5902, allocations: 2.586 MB / 0.8272 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/7.223, allocations: 4.688 kB / 0.8272 GB, free: 10.12 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert_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_Utilities_Validation_Assert.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.278302789200097] Failed to read output from testmodel.py, exit status != 0: 7.299541455693543 7.312240326 6.74813896 Calling exit ...