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.001086/0.001086, 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.001138/0.001138, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9542/0.9542, allocations: 230.6 MB / 256 MB, free: 9.809 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.8462/0.8462, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001596/0.001596, allocations: 61.56 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.559, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001313/0.5603, allocations: 0.5971 MB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.5613, allocations: 1.159 MB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.5614, allocations: 0 / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.5614, allocations: 0.9375 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.5614, allocations: 6.125 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.5619, allocations: 128 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.5621, allocations: 82.75 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.5621, allocations: 9.703 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.5622, allocations: 36.61 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.5623, allocations: 30.3 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.5623, allocations: 6.312 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.5624, allocations: 25.62 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.5624, allocations: 3.422 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.5625, allocations: 31.55 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.5626, allocations: 80.02 kB / 0.82 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5626, allocations: 4.703 kB / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5626, allocations: 0 / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5627, allocations: 3.938 kB / 0.82 GB, free: 15.85 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.0004135/0.5631, allocations: 298 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5631, allocations: 10.25 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.5631, allocations: 33.88 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.5632, allocations: 7.203 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.5633, allocations: 115 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5633, allocations: 3.75 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.5633, allocations: 12.53 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.899e-05/0.5634, allocations: 34.84 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5634, allocations: 3.938 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.5634, allocations: 3.938 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5634, allocations: 0 / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.5634, allocations: 8.359 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.5638, allocations: 253.5 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.5638, allocations: 31.33 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.5638, allocations: 8.969 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.5638, allocations: 0 / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.564, allocations: 58.44 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.564, allocations: 0 / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.5642, allocations: 71.14 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.5642, allocations: 52.75 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.5643, allocations: 113.7 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5643, allocations: 28.64 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.5643, allocations: 81.92 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.5643, allocations: 11.56 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.5644, allocations: 28.69 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.5645, allocations: 319.5 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.5645, allocations: 24.69 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.5646, allocations: 54.52 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.5647, allocations: 83.47 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5647, allocations: 0 / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001901/0.5649, allocations: 148 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.5649, allocations: 38.81 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5649, allocations: 2.469 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5649, allocations: 4.094 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.5649, allocations: 2.078 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5649, allocations: 1.75 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.5651, allocations: 27.59 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5651, allocations: 5.984 kB / 0.8219 GB, free: 14.05 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 7.307e-05/0.5652, allocations: 121.7 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.5652, allocations: 0 / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.5652, allocations: 11.97 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5652, allocations: 3.938 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5652, allocations: 4.594 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5652, allocations: 0 / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.5653, allocations: 133.4 kB / 0.8221 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5653, allocations: 3.938 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-06/0.5653, allocations: 0.6562 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5653, allocations: 2.469 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.5653, allocations: 0.6562 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5653, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5653, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.969e-05/0.5654, allocations: 88.7 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.5654, allocations: 1.953 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5655, allocations: 6.391 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.5655, allocations: 0.6562 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.5655, allocations: 2.281 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.5655, allocations: 1.922 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.5656, allocations: 85.86 kB / 0.8223 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5656, allocations: 4 kB / 0.8223 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001597/0.5657, allocations: 24.41 kB / 0.8223 GB, free: 13.57 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.0004131/0.5661, allocations: 0.6096 MB / 0.8229 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.5664, allocations: 109.2 kB / 0.823 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5664, allocations: 192 / 0.823 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.5664, allocations: 15.03 kB / 0.8231 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5666, allocations: 8.562 kB / 0.8231 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.5679, allocations: 1.37 MB / 0.8244 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.5681, allocations: 0.6865 MB / 0.8251 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.5681, allocations: 6.031 kB / 0.8251 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.5681, allocations: 9.531 kB / 0.8251 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.5681, allocations: 0 / 0.8251 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.5859, allocations: 2.075 MB / 0.8271 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/7.141, allocations: 6.016 kB / 0.8271 GB, free: 10.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.181133979931474] Failed to read output from testmodel.py, exit status != 0: 7.219070862047374 7.231077512 6.665190861 Calling exit ...