Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.00118/0.00118, allocations: 113.9 kB / 18.94 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.0009594/0.0009594, allocations: 213.3 kB / 22.25 MB, free: 3.699 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 1.022/1.022, allocations: 230.6 MB / 256 MB, free: 9.801 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.8379/0.8379, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",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.001517/0.001517, allocations: 66.95 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.566/0.5676, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001435/0.569, allocations: 0.6799 MB / 0.8185 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.5702, allocations: 1.236 MB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.5703, allocations: 4.719 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.5703, allocations: 4.875 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.5704, allocations: 15.5 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.571, allocations: 225.4 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.5712, allocations: 170.1 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.5713, allocations: 9.422 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.5714, allocations: 70.33 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.5716, allocations: 74.02 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.5716, allocations: 14.62 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.5717, allocations: 33.3 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.5717, allocations: 11.09 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.5717, allocations: 61.52 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.572, allocations: 154.8 kB / 0.8205 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.572, allocations: 1.703 kB / 0.8205 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.572, allocations: 7.875 kB / 0.8206 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.572, allocations: 0 / 0.8206 GB, free: 15.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004562/0.5724, allocations: 371.1 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5725, allocations: 8.875 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.5725, allocations: 36.25 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.5726, allocations: 12.33 kB / 0.821 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/0.5726, allocations: 120.3 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.5727, allocations: 10.42 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.5727, allocations: 13.56 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.5728, allocations: 54.36 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.5728, allocations: 0 / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.5728, allocations: 1.75 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5729, allocations: 6.438 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.5729, allocations: 12.23 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.5734, allocations: 325.7 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.5735, allocations: 33.19 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.5735, allocations: 18.27 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.5735, allocations: 0 / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.5737, allocations: 94.59 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.5737, allocations: 0 / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002314/0.5739, allocations: 125.4 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.574, allocations: 56.16 kB / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.574, allocations: 120.2 kB / 0.8219 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.5741, allocations: 35.16 kB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.5741, allocations: 95.69 kB / 0.822 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.5741, allocations: 21.06 kB / 0.8221 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.5742, allocations: 57.36 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5743, allocations: 325.1 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.5744, allocations: 66.98 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5746, allocations: 100.1 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.5747, allocations: 189.8 kB / 0.8228 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5747, allocations: 0 / 0.8228 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003688/0.5751, allocations: 292 kB / 0.823 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.5752, allocations: 70.66 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5752, allocations: 1.406 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5752, allocations: 2.781 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.5753, allocations: 5.562 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5753, allocations: 1.375 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.5755, allocations: 56.69 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.5755, allocations: 22.41 kB / 0.8232 GB, free: 13.36 MB / 0.6198 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 9.65e-05/0.5756, allocations: 132.2 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.5756, allocations: 9.062 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.5756, allocations: 6.797 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5757, allocations: 1.344 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5757, allocations: 0 / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5757, allocations: 1.031 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.576, allocations: 334.1 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.576, allocations: 4.562 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.576, allocations: 2.797 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.576, allocations: 0 / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5761, allocations: 2.562 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5761, allocations: 8.969 kB / 0.8237 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5761, allocations: 0.9844 kB / 0.8237 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.5762, allocations: 193.8 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.5762, allocations: 12.12 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.5762, allocations: 6.156 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.5763, allocations: 8.969 kB / 0.8239 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.5763, allocations: 9.344 kB / 0.8239 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5763, allocations: 4.375 kB / 0.8239 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.5764, allocations: 97.5 kB / 0.824 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5764, allocations: 1.281 kB / 0.824 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002069/0.5766, allocations: 32.25 kB / 0.824 GB, free: 12.65 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: 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.0004097/0.577, allocations: 0.7368 MB / 0.8247 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.5773, allocations: 233.3 kB / 0.825 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5773, allocations: 0 / 0.825 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.5774, allocations: 23.67 kB / 0.825 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.5777, allocations: 27.34 kB / 0.825 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.5799, allocations: 1.857 MB / 0.8268 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5802, allocations: 0.6873 MB / 0.8275 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.5802, allocations: 11.2 kB / 0.8275 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.5803, allocations: 21.31 kB / 0.8275 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.5803, allocations: 4 kB / 0.8275 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.6002, allocations: 3.169 MB / 0.8306 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/7.092, allocations: 4 kB / 0.8306 GB, free: 8.961 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.272108077071607] Failed to read output from testmodel.py, exit status != 0: 7.170017128111795 7.179460122 6.605121753 Calling exit ...