Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009535/0.0009535, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009679/0.0009679, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9195/0.9195, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7258/0.7258, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.166e-05, allocations: 2.781 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002962/0.002984, allocations: 0.6681 MB / 0.6188 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004132, allocations: 1.217 MB / 0.6199 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.004176, allocations: 4 kB / 0.6199 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.004204, allocations: 3.938 kB / 0.6199 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.004273, allocations: 15.88 kB / 0.62 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.004757, allocations: 217.4 kB / 0.6202 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.004954, allocations: 183.7 kB / 0.6203 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005059, allocations: 7.984 kB / 0.6204 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.005191, allocations: 99.86 kB / 0.6204 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.005316, allocations: 63.83 kB / 0.6205 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.005344, allocations: 16 kB / 0.6205 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.005417, allocations: 20 kB / 0.6205 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.005448, allocations: 11.98 kB / 0.6206 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.005517, allocations: 55.89 kB / 0.6206 GB, free: 10 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.005742, allocations: 187.6 kB / 0.6208 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005745, allocations: 0 / 0.6208 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.015e-06/0.005748, allocations: 3.984 kB / 0.6208 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.005754, allocations: 0 / 0.6208 GB, free: 9.812 MB / 0.5417 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.0005174/0.006272, allocations: 357.6 kB / 0.6211 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.006329, allocations: 20.02 kB / 0.6211 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.00636, allocations: 34.69 kB / 0.6212 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.006413, allocations: 16.88 kB / 0.6212 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.26e-05/0.006505, allocations: 117.6 kB / 0.6213 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.006528, allocations: 4.375 kB / 0.6213 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.006557, allocations: 20.36 kB / 0.6213 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006675, allocations: 46 kB / 0.6214 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.006683, allocations: 0 / 0.6214 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006694, allocations: 3.984 kB / 0.6214 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.0067, allocations: 4 kB / 0.6214 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.006731, allocations: 8 kB / 0.6214 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.007169, allocations: 303.8 kB / 0.6217 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.00724, allocations: 30.58 kB / 0.6217 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.007262, allocations: 16.94 kB / 0.6217 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.007268, allocations: 0 / 0.6217 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.007425, allocations: 107.2 kB / 0.6218 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.007426, allocations: 0 / 0.6218 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002331/0.007659, allocations: 125.5 kB / 0.622 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.007694, allocations: 55.41 kB / 0.622 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.007765, allocations: 121.6 kB / 0.6221 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.007789, allocations: 33.7 kB / 0.6222 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.007842, allocations: 100.3 kB / 0.6222 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.007858, allocations: 23.8 kB / 0.6223 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.007921, allocations: 49.69 kB / 0.6223 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.008002, allocations: 322.8 kB / 0.6226 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.008131, allocations: 123.4 kB / 0.6227 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.008265, allocations: 169.4 kB / 0.6229 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.008411, allocations: 189.3 kB / 0.6231 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008413, allocations: 0 / 0.6231 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005584/0.008972, allocations: 348.2 kB / 0.6234 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.009037, allocations: 67.39 kB / 0.6235 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.009048, allocations: 4 kB / 0.6235 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.009063, allocations: 0 / 0.6235 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.009126, allocations: 7.938 kB / 0.6235 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.009133, allocations: 4 kB / 0.6235 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.009344, allocations: 56.09 kB / 0.6236 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.009368, allocations: 15.98 kB / 0.6236 GB, free: 6.645 MB / 0.5417 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.0001042/0.009472, allocations: 130.7 kB / 0.6237 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.00949, allocations: 15.88 kB / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.009517, allocations: 4.438 kB / 0.6237 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.009521, allocations: 4 kB / 0.6237 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.009527, allocations: 4 kB / 0.6237 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00953, allocations: 0 / 0.6237 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.009843, allocations: 325.9 kB / 0.624 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.009846, allocations: 96 / 0.624 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.009859, allocations: 7.922 kB / 0.624 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.009862, allocations: 4 kB / 0.624 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009872, allocations: 4 kB / 0.624 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.009874, allocations: 0 / 0.624 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.009877, allocations: 0 / 0.624 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01003, allocations: 199.4 kB / 0.6242 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.01005, allocations: 11.95 kB / 0.6242 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.01006, allocations: 7.984 kB / 0.6243 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.01011, allocations: 0 / 0.6243 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.01014, allocations: 7.984 kB / 0.6243 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.01016, allocations: 11.94 kB / 0.6243 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.01021, allocations: 91.27 kB / 0.6244 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 0 / 0.6244 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002179/0.01043, allocations: 28 kB / 0.6244 GB, free: 5.727 MB / 0.5417 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.0004641/0.01089, allocations: 0.7319 MB / 0.6251 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.01121, allocations: 302.2 kB / 0.6254 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01122, allocations: 3.938 kB / 0.6254 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.01126, allocations: 27.92 kB / 0.6254 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01149, allocations: 32.23 kB / 0.6254 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.01308, allocations: 2.103 MB / 0.6275 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.359e-05/0.01314, allocations: 84.22 kB / 0.6276 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.01316, allocations: 4.734 kB / 0.6276 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.0132, allocations: 24.48 kB / 0.6276 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/0.0132, allocations: 0 / 0.6276 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.02899, allocations: 3.88 MB / 0.6314 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.734, allocations: 9 kB / 0.6314 GB, free: 14.49 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.370003004558384] Failed to read output from testmodel.py, exit status != 0: 6.814873583614826 6.826278151 6.818727756 Calling exit ...