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.001334/0.001334, allocations: 109.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.001265/0.001265, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9739/0.9739, allocations: 230.6 MB / 256 MB, free: 9.617 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.804/0.804, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001568/0.001568, allocations: 75.19 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5517, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001533/0.5532, allocations: 0.6604 MB / 0.8185 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.5544, allocations: 1.217 MB / 0.8196 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.5544, allocations: 0 / 0.8196 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.5545, allocations: 4.547 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.5546, allocations: 11.89 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.5552, allocations: 232.8 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.5554, allocations: 177.5 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.5555, allocations: 8.781 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.5556, allocations: 76.53 kB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.5558, allocations: 53.11 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.5558, allocations: 15.81 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.5559, allocations: 30.48 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.556, allocations: 12.64 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.556, allocations: 56.33 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.5564, allocations: 160 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.5564, allocations: 4 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.158e-06/0.5564, allocations: 0 / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5564, allocations: 0 / 0.8204 GB, free: 15.38 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.0006639/0.5571, allocations: 363.4 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.5571, allocations: 11 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.5572, allocations: 38.64 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.5572, allocations: 12.52 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5573, allocations: 121.8 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.5574, allocations: 5.938 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5574, allocations: 12.72 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5576, allocations: 56.58 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5576, allocations: 4 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5576, allocations: 0 / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5576, allocations: 1.812 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.5576, allocations: 13.58 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.5582, allocations: 300.7 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5583, allocations: 31.48 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.5583, allocations: 15.02 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5583, allocations: 2.5 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.5586, allocations: 99.42 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.5586, allocations: 0 / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000337/0.5589, allocations: 132.3 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003119/0.5592, allocations: 54.3 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.5594, allocations: 124.8 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.5594, allocations: 34.92 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.5595, allocations: 91.73 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.5595, allocations: 24.56 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.5596, allocations: 53.33 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5597, allocations: 324.3 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5599, allocations: 121.7 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.5601, allocations: 173 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.5603, allocations: 186.4 kB / 0.8227 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5603, allocations: 0.9375 kB / 0.8227 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004239/0.5607, allocations: 339 kB / 0.8231 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.5608, allocations: 73.59 kB / 0.8231 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5608, allocations: 2.531 kB / 0.8231 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.5608, allocations: 2.625 kB / 0.8231 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.5609, allocations: 7.531 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5609, allocations: 2.531 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.5611, allocations: 55.84 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.5612, allocations: 17.52 kB / 0.8232 GB, free: 12.98 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 0.0001147/0.5613, allocations: 132.2 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.5613, allocations: 8.625 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.5613, allocations: 7.141 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5613, allocations: 1.375 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5614, allocations: 0 / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5614, allocations: 0.7031 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.5618, allocations: 327.1 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5618, allocations: 3.938 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.5618, allocations: 6.219 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5618, allocations: 5.719 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5618, allocations: 7 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5618, allocations: 3.938 kB / 0.8237 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5618, allocations: 1.156 kB / 0.8237 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.562, allocations: 203 kB / 0.8239 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.562, allocations: 7.578 kB / 0.8239 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.562, allocations: 2.281 kB / 0.8239 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.5621, allocations: 5.062 kB / 0.8239 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.5621, allocations: 10.27 kB / 0.8239 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.5622, allocations: 4.828 kB / 0.8239 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.5622, allocations: 95.38 kB / 0.824 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5622, allocations: 4 kB / 0.824 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002281/0.5625, allocations: 29.06 kB / 0.8241 GB, free: 12.27 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.0005829/0.563, allocations: 0.7359 MB / 0.8248 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.5635, allocations: 292.2 kB / 0.825 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5635, allocations: 0 / 0.825 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.5635, allocations: 23.98 kB / 0.8251 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.5638, allocations: 29.31 kB / 0.8251 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.5658, allocations: 2.1 MB / 0.8271 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.5659, allocations: 76.39 kB / 0.8272 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.5659, allocations: 7.938 kB / 0.8272 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.566, allocations: 20.88 kB / 0.8273 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.566, allocations: 0 / 0.8273 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.5863, allocations: 3.765 MB / 0.8309 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/7.076, allocations: 1.656 kB / 0.8309 GB, free: 8.387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.0524443811737] Failed to read output from testmodel.py, exit status != 0: 7.158655776176602 7.167638538 6.609048224 Calling exit ...