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.001252/0.001252, allocations: 109.9 kB / 18.93 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.001818/0.001818, allocations: 223.2 kB / 22.26 MB, free: 3.707 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.9999/0.9999, 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.8081/0.8081, allocations: 203.5 MB / 0.5038 GB, free: 11.04 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.001146/0.001146, allocations: 66.09 kB / 0.7178 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5984, allocations: 102 MB / 0.8174 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001547/0.5999, allocations: 0.6679 MB / 0.818 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.601, allocations: 1.247 MB / 0.8192 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.6011, allocations: 0 / 0.8192 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.6011, allocations: 4.828 kB / 0.8192 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.6012, allocations: 10.73 kB / 0.8192 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.6017, allocations: 223.3 kB / 0.8195 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.6019, allocations: 179.7 kB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.602, allocations: 12.3 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.6021, allocations: 73.27 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.6022, allocations: 69.58 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.6022, allocations: 17.56 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.956e-05/0.6023, allocations: 30.08 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.6023, allocations: 9.906 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.6024, allocations: 61.36 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.6026, allocations: 155.3 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6026, allocations: 7.625 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6026, allocations: 0 / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.6026, allocations: 4 kB / 0.8201 GB, free: 15.79 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.0004411/0.6031, allocations: 363.8 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.6031, allocations: 10.69 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.6031, allocations: 31.92 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.6032, allocations: 21 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.6033, allocations: 122.7 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.6033, allocations: 6.781 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.6033, allocations: 17.23 kB / 0.8206 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.6034, allocations: 51.39 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.6034, allocations: 7.938 kB / 0.8207 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.6034, allocations: 2.359 kB / 0.8207 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6034, allocations: 0 / 0.8207 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.6035, allocations: 12.94 kB / 0.8207 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.6039, allocations: 322 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.604, allocations: 34.62 kB / 0.821 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.604, allocations: 19.64 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.604, allocations: 4 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.6042, allocations: 89.81 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.6042, allocations: 1.5 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002418/0.6044, allocations: 125 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.6045, allocations: 55.92 kB / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.6045, allocations: 122.1 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.6046, allocations: 32.61 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.6046, allocations: 92.95 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.6046, allocations: 25.09 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.6047, allocations: 58.31 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.6048, allocations: 329.1 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6049, allocations: 60.12 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.605, allocations: 112.4 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.6052, allocations: 177.4 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6052, allocations: 1.062 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003239/0.6055, allocations: 295.9 kB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.6055, allocations: 67.12 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6055, allocations: 2.188 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6056, allocations: 2.875 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.6056, allocations: 3.906 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6056, allocations: 3.031 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.6058, allocations: 55.56 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6058, allocations: 16.92 kB / 0.8227 GB, free: 13.57 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.684e-05/0.6059, allocations: 131 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.6059, allocations: 7.312 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.6059, allocations: 10.36 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6059, allocations: 2.094 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.606, allocations: 0.7031 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.606, allocations: 4 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.6062, allocations: 330.8 kB / 0.8231 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6062, allocations: 1.125 kB / 0.8231 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.6062, allocations: 1.922 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6062, allocations: 1.156 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.6062, allocations: 6.625 kB / 0.8232 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6062, allocations: 5.312 kB / 0.8232 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6062, allocations: 0 / 0.8232 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.6064, allocations: 201.9 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.6064, allocations: 9.359 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.6064, allocations: 0.7031 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.6064, allocations: 8.438 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.6065, allocations: 15.62 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.6065, allocations: 5.266 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.6065, allocations: 98.02 kB / 0.8235 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6065, allocations: 0 / 0.8235 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001807/0.6067, allocations: 27.7 kB / 0.8235 GB, free: 12.87 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.0003438/0.607, allocations: 0.7351 MB / 0.8242 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.6073, allocations: 228.2 kB / 0.8244 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6073, allocations: 0 / 0.8244 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.6074, allocations: 32.8 kB / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.6076, allocations: 23.09 kB / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.6092, allocations: 1.86 MB / 0.8263 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.6094, allocations: 0.6891 MB / 0.827 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.6094, allocations: 9.922 kB / 0.827 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.6094, allocations: 22.16 kB / 0.827 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.6094, allocations: 3.938 kB / 0.827 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.6284, allocations: 3.154 MB / 0.8301 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/7.085, allocations: 7.484 kB / 0.8301 GB, free: 9.184 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.145419244654477] Failed to read output from testmodel.py, exit status != 0: 7.1629939107224345 7.1726874 6.568096736 Calling exit ...