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.000669/0.000669, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007551/0.0007551, allocations: 209.2 kB / 22.24 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.9333/0.9333, allocations: 230.6 MB / 256 MB, free: 9.578 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.7909/0.7909, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001094/0.001094, allocations: 74.53 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5407, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001632/0.5423, allocations: 0.6687 MB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.5434, allocations: 1.215 MB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.5434, allocations: 1.312 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.5435, allocations: 4.734 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.5435, allocations: 18.91 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.5441, allocations: 228.5 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.5443, allocations: 167.8 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.5444, allocations: 18.69 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.5445, allocations: 70.5 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.5446, allocations: 58.86 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.5446, allocations: 15.72 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.5447, allocations: 24.38 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.5447, allocations: 13.98 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.5448, allocations: 58.2 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.545, allocations: 159.6 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.545, allocations: 4 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.545, allocations: 0 / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.545, allocations: 0 / 0.8204 GB, free: 15.39 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.0004434/0.5455, allocations: 368.7 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5455, allocations: 9.625 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.5455, allocations: 36.19 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.5456, allocations: 12.11 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/0.5456, allocations: 121.6 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.5457, allocations: 11.47 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.5457, allocations: 10.91 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.5458, allocations: 51.08 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5458, allocations: 4 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5458, allocations: 0.5312 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.5458, allocations: 3.219 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.5458, allocations: 13.14 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.5463, allocations: 295 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.5463, allocations: 36.12 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.5463, allocations: 15.62 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.5464, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.5465, allocations: 95.42 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.5465, allocations: 4 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002295/0.5467, allocations: 135.4 kB / 0.8216 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5468, allocations: 56 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.5468, allocations: 126.6 kB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5469, allocations: 35.52 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.5469, allocations: 89.55 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.5469, allocations: 21.3 kB / 0.8219 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.547, allocations: 51.06 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.5471, allocations: 322.9 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5472, allocations: 124.3 kB / 0.8224 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5473, allocations: 173.7 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.5475, allocations: 190.8 kB / 0.8227 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5475, allocations: 0 / 0.8227 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003177/0.5478, allocations: 340.2 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.5478, allocations: 67.06 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5478, allocations: 5.094 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5479, allocations: 2.906 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.5479, allocations: 11.06 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5479, allocations: 1.25 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.5481, allocations: 52.53 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.5481, allocations: 17.34 kB / 0.8232 GB, free: 13 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 8.141e-05/0.5482, allocations: 132.8 kB / 0.8233 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.5482, allocations: 7.25 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.5482, allocations: 6.469 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5482, allocations: 2.109 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5482, allocations: 1.344 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5482, allocations: 0.5156 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.5485, allocations: 326.6 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5485, allocations: 0 / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-06/0.5485, allocations: 5.969 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5485, allocations: 2 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5485, allocations: 10.09 kB / 0.8237 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5485, allocations: 8.344 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5485, allocations: 2.234 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.5486, allocations: 202.8 kB / 0.8239 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.5486, allocations: 11.52 kB / 0.8239 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.5487, allocations: 2.031 kB / 0.8239 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.5487, allocations: 4.547 kB / 0.8239 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.5487, allocations: 10.95 kB / 0.8239 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5487, allocations: 5.062 kB / 0.8239 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.5488, allocations: 91 kB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5488, allocations: 1.25 kB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001971/0.549, allocations: 33.7 kB / 0.8241 GB, free: 12.29 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.0003328/0.5493, allocations: 0.732 MB / 0.8248 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.5496, allocations: 292.7 kB / 0.825 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5496, allocations: 0 / 0.825 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.5496, allocations: 24.89 kB / 0.8251 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.5499, allocations: 24.11 kB / 0.8251 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.5514, allocations: 2.109 MB / 0.8271 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.5515, allocations: 72.36 kB / 0.8272 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.5515, allocations: 6.156 kB / 0.8272 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.5515, allocations: 25.8 kB / 0.8272 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.5515, allocations: 0 / 0.8272 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.5678, allocations: 3.766 MB / 0.8309 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/7.297, allocations: 3.938 kB / 0.8309 GB, free: 8.406 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.227216388098896] Failed to read output from testmodel.py, exit status != 0: 7.37673707306385 7.388878383 6.84180458 Calling exit ...