Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001335/0.001335, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001498/0.001498, allocations: 219.7 kB / 23 MB, free: 5.07 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.949/0.949, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001971/0.001971, allocations: 71.27 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 89.17 MB / 0.7284 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002056/0.1732, allocations: 0.6678 MB / 0.729 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1749, allocations: 1.241 MB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.175, allocations: 0 / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.175, allocations: 3.984 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.1751, allocations: 15.86 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.1758, allocations: 216.6 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.1761, allocations: 183.7 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.1762, allocations: 15.97 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1763, allocations: 67.89 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1765, allocations: 67.78 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.1765, allocations: 16 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.1766, allocations: 31.98 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.1767, allocations: 11.94 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.1767, allocations: 55.88 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.177, allocations: 155.8 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.177, allocations: 0 / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.177, allocations: 8 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.177, allocations: 0 / 0.731 GB, free: 14.55 MB / 0.5606 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.0005505/0.1775, allocations: 369.5 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1776, allocations: 8.031 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1776, allocations: 38.67 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.1777, allocations: 12.89 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1778, allocations: 106.5 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1778, allocations: 4.375 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1778, allocations: 20.12 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.178, allocations: 49.67 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.178, allocations: 0 / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.178, allocations: 0 / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.178, allocations: 4 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.178, allocations: 11.98 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.1786, allocations: 335.7 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.1786, allocations: 34.56 kB / 0.732 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.1787, allocations: 24.88 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1787, allocations: 0 / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1789, allocations: 91.3 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1789, allocations: 0 / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002811/0.1792, allocations: 125.8 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1792, allocations: 63.38 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1793, allocations: 125.8 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1794, allocations: 33.7 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.1794, allocations: 92.36 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1795, allocations: 15.91 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.1796, allocations: 49.69 kB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1797, allocations: 322.8 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1798, allocations: 59.97 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.18, allocations: 114 kB / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1802, allocations: 185.3 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1802, allocations: 4 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004499/0.1807, allocations: 276.8 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.1807, allocations: 71.39 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1807, allocations: 0 / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1808, allocations: 4 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.1808, allocations: 11.94 kB / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1808, allocations: 0 / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.1811, allocations: 63.98 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1812, allocations: 15.92 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001293/0.1813, allocations: 134.7 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.1813, allocations: 3.953 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.1813, allocations: 12.47 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1813, allocations: 3.984 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1813, allocations: 4 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1814, allocations: 3.938 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.1817, allocations: 329.5 kB / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1817, allocations: 0 / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.1817, allocations: 7.984 kB / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1817, allocations: 0 / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1817, allocations: 0 / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1817, allocations: 3.938 kB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1817, allocations: 0 / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1819, allocations: 207.5 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.1819, allocations: 7.938 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.182, allocations: 4 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.182, allocations: 11.94 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1821, allocations: 7.984 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1821, allocations: 4 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.1821, allocations: 92.25 kB / 0.7345 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1821, allocations: 0 / 0.7345 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000276/0.1824, allocations: 36 kB / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005496/0.1829, allocations: 0.7402 MB / 0.7352 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.1833, allocations: 226.7 kB / 0.7354 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1833, allocations: 320 / 0.7354 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.1834, allocations: 35.92 kB / 0.7355 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1837, allocations: 20.28 kB / 0.7355 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1858, allocations: 1.88 MB / 0.7373 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1861, allocations: 0.6893 MB / 0.738 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.1861, allocations: 12.66 kB / 0.738 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1862, allocations: 19.44 kB / 0.738 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.1862, allocations: 0 / 0.738 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.2162, allocations: 3.153 MB / 0.7411 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.72, allocations: 11.56 kB / 0.7411 GB, free: 3.82 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.347055167891085] Failed to read output from testmodel.py, exit status != 0: 10.826398808974773 10.855581364 10.673193911 Calling exit ...