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.001476/0.001476, allocations: 114.3 kB / 18.94 MB, free: 2.789 MB / 14.72 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.001703/0.001703, allocations: 220.8 kB / 22.26 MB, free: 5.211 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 1.262/1.262, allocations: 203.8 MB / 0.5041 GB, free: 4.938 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [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.002337/0.002337, allocations: 63.91 kB / 0.7187 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6448, allocations: 102 MB / 0.8183 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002294/0.6471, allocations: 0.5919 MB / 0.8189 GB, free: 28.83 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.6492, allocations: 1.155 MB / 0.82 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.6493, allocations: 0 / 0.82 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.6493, allocations: 2.047 kB / 0.82 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.6494, allocations: 5.594 kB / 0.82 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.6499, allocations: 122.5 kB / 0.8201 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.6501, allocations: 80.64 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.6502, allocations: 12.83 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.6503, allocations: 34.02 kB / 0.8203 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.6504, allocations: 33.44 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.6505, allocations: 8.312 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.6506, allocations: 25.56 kB / 0.8203 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.6506, allocations: 9.359 kB / 0.8203 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.6506, allocations: 26.3 kB / 0.8204 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.6509, allocations: 80.45 kB / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6509, allocations: 1.641 kB / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6509, allocations: 0 / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.6509, allocations: 0 / 0.8204 GB, free: 27.81 MB / 0.6387 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.0005053/0.6514, allocations: 306.7 kB / 0.8207 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6514, allocations: 12.08 kB / 0.8207 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.6515, allocations: 8.891 kB / 0.8207 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.945e-05/0.6516, allocations: 110.4 kB / 0.8208 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.6516, allocations: 5.078 kB / 0.8209 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.6516, allocations: 4.25 kB / 0.8209 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.6517, allocations: 44.2 kB / 0.8209 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6518, allocations: 0.8125 kB / 0.8209 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6518, allocations: 4.438 kB / 0.8209 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.6518, allocations: 2.188 kB / 0.8209 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.6518, allocations: 4.172 kB / 0.8209 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.6522, allocations: 259.4 kB / 0.8212 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.6523, allocations: 26.05 kB / 0.8212 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.6523, allocations: 8.359 kB / 0.8212 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.6523, allocations: 3.938 kB / 0.8212 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.6525, allocations: 63.81 kB / 0.8213 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6525, allocations: 0 / 0.8213 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002476/0.6527, allocations: 66.88 kB / 0.8213 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6527, allocations: 51.97 kB / 0.8214 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.6528, allocations: 106.7 kB / 0.8215 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.6529, allocations: 31.61 kB / 0.8215 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.6529, allocations: 88.45 kB / 0.8216 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.6529, allocations: 9.938 kB / 0.8216 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.653, allocations: 30.36 kB / 0.8216 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.6531, allocations: 317.9 kB / 0.8219 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.6531, allocations: 28.2 kB / 0.822 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.6532, allocations: 49.28 kB / 0.822 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.6533, allocations: 83.17 kB / 0.8221 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6533, allocations: 3.938 kB / 0.8221 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000261/0.6536, allocations: 144.3 kB / 0.8222 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.6536, allocations: 35.17 kB / 0.8223 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6537, allocations: 4.594 kB / 0.8223 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6537, allocations: 1.438 kB / 0.8223 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.931e-05/0.6537, allocations: 1.922 kB / 0.8223 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6537, allocations: 1.812 kB / 0.8223 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.6539, allocations: 30.98 kB / 0.8223 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.6539, allocations: 10.7 kB / 0.8223 GB, free: 26.06 MB / 0.6387 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 8.013e-05/0.654, allocations: 120.1 kB / 0.8224 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.654, allocations: 3.047 kB / 0.8224 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.6541, allocations: 9.844 kB / 0.8224 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6541, allocations: 0 / 0.8224 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6541, allocations: 0.9375 kB / 0.8224 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6541, allocations: 4.734 kB / 0.8224 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.6542, allocations: 132.4 kB / 0.8226 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6542, allocations: 0 / 0.8226 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-06/0.6542, allocations: 1.547 kB / 0.8226 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6542, allocations: 1.094 kB / 0.8226 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-06/0.6542, allocations: 1.016 kB / 0.8226 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6542, allocations: 5.406 kB / 0.8226 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6542, allocations: 2.5 kB / 0.8226 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.6543, allocations: 84.47 kB / 0.8227 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.6543, allocations: 2.953 kB / 0.8227 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.6543, allocations: 1.969 kB / 0.8227 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.6543, allocations: 8.688 kB / 0.8227 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.6544, allocations: 6.547 kB / 0.8227 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.6544, allocations: 5.938 kB / 0.8227 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.6544, allocations: 81.97 kB / 0.8228 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6544, allocations: 0 / 0.8228 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002602/0.6547, allocations: 14.92 kB / 0.8228 GB, free: 25.6 MB / 0.6387 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.0001413/0.6548, allocations: 105.1 kB / 0.8229 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.6551, allocations: 112.8 kB / 0.823 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6551, allocations: 0 / 0.823 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.6551, allocations: 7.906 kB / 0.823 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6553, allocations: 11.25 kB / 0.823 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.6556, allocations: 126.7 kB / 0.8231 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.6558, allocations: 0.6776 MB / 0.8238 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.6558, allocations: 7.328 kB / 0.8238 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.6558, allocations: 9.125 kB / 0.8238 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.6558, allocations: 0.5 kB / 0.8238 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of Templates: time 0.004533/0.6603, allocations: 1.087 MB / 0.8249 GB, free: 24.47 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.80653659440577] Failed to read output from testmodel.py, exit status != 0: 0.6694497838616371 0.6840388119999999 0.029874845 Calling exit ...