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.0007722/0.0007722, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009194/0.0009194, allocations: 207.6 kB / 22.25 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.959/0.959, allocations: 230.6 MB / 256 MB, free: 9.613 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.8034/0.8034, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.00101/0.00101, allocations: 72.58 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5785, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001433/0.58, allocations: 0.5845 MB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.5811, allocations: 1.138 MB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.5811, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.5811, allocations: 3.938 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.5812, allocations: 5.156 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.5816, allocations: 127.7 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.5818, allocations: 89.02 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.5819, allocations: 4.875 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.5819, allocations: 32.86 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.582, allocations: 29.34 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.5821, allocations: 7.406 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.5821, allocations: 24.77 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.5822, allocations: 0.7031 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.5822, allocations: 25.48 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.5824, allocations: 85.73 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5824, allocations: 4 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5824, allocations: 0 / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5824, allocations: 0 / 0.8199 GB, free: 15.69 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.000448/0.5828, allocations: 298.6 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5829, allocations: 9.719 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.5829, allocations: 35.2 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.583, allocations: 11.62 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.5831, allocations: 113.2 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5831, allocations: 3.156 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5831, allocations: 8.719 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.5832, allocations: 63.75 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5832, allocations: 8.547 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.5832, allocations: 4.625 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5832, allocations: 1.938 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.5832, allocations: 7.422 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.5838, allocations: 242 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.5838, allocations: 22.22 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.5838, allocations: 7.641 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.5838, allocations: 6.75 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.584, allocations: 84.22 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.584, allocations: 4 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.5842, allocations: 68.47 kB / 0.8208 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.5842, allocations: 53.58 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.5843, allocations: 108.8 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5843, allocations: 29.42 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.5844, allocations: 82.5 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.5844, allocations: 5.891 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.5844, allocations: 29.28 kB / 0.8211 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.5845, allocations: 318 kB / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.5846, allocations: 59.67 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.5847, allocations: 78.23 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/0.5848, allocations: 87.56 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5848, allocations: 1.656 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000212/0.585, allocations: 175.5 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.585, allocations: 34.27 kB / 0.8218 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.585, allocations: 5.906 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.585, allocations: 2.688 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.5851, allocations: 0.7031 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5851, allocations: 96 / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.5852, allocations: 37.42 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.5853, allocations: 5.328 kB / 0.8219 GB, free: 13.72 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.169e-05/0.5854, allocations: 120.7 kB / 0.822 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.5854, allocations: 3.531 kB / 0.822 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.5854, allocations: 9.312 kB / 0.822 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.5854, allocations: 0 / 0.822 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5854, allocations: 0.625 kB / 0.822 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5854, allocations: 3.484 kB / 0.822 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.5855, allocations: 133.4 kB / 0.8221 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5855, allocations: 0 / 0.8221 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-06/0.5855, allocations: 1.469 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5855, allocations: 0.8906 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5855, allocations: 0 / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5855, allocations: 1.938 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5855, allocations: 0 / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.5857, allocations: 100.8 kB / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.5857, allocations: 3.141 kB / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.5857, allocations: 2.141 kB / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.5857, allocations: 0 / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.5857, allocations: 6.594 kB / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5857, allocations: 8.375 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.5858, allocations: 80.36 kB / 0.8223 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5858, allocations: 0 / 0.8223 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001612/0.5859, allocations: 20.44 kB / 0.8224 GB, free: 13.25 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.00036/0.5863, allocations: 0.6173 MB / 0.823 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.5865, allocations: 134.6 kB / 0.8231 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5865, allocations: 0 / 0.8231 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.5865, allocations: 11.59 kB / 0.8231 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.5867, allocations: 12.34 kB / 0.8231 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.5879, allocations: 1.497 MB / 0.8246 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.5879, allocations: 60.12 kB / 0.8246 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.5879, allocations: 5.922 kB / 0.8246 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.588, allocations: 11.44 kB / 0.8247 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.588, allocations: 0 / 0.8247 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.6059, allocations: 2.586 MB / 0.8272 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/7.203, allocations: 3.812 kB / 0.8272 GB, free: 10.14 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.170540438964963] Failed to read output from testmodel.py, exit status != 0: 7.283224774990231 7.298536373 6.71328662 Calling exit ...