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.0007143/0.0007143, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0006998/0.0006998, allocations: 211.2 kB / 23 MB, free: 2.977 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.8465/0.8465, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.702/0.702, allocations: 203.8 MB / 0.5049 GB, free: 10.48 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [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.0009548/0.0009548, allocations: 65.53 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4216, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001408/0.423, allocations: 0.6658 MB / 0.8197 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.424, allocations: 1.216 MB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.4241, allocations: 1.312 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.4241, allocations: 3.938 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.4242, allocations: 20.61 kB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.4247, allocations: 218.9 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.4249, allocations: 172.3 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.425, allocations: 6.25 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.4251, allocations: 76.98 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.4252, allocations: 61.7 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.4253, allocations: 15.91 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.4253, allocations: 28.81 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.4253, allocations: 14.41 kB / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.67e-05/0.4254, allocations: 51.06 kB / 0.8215 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.4256, allocations: 162.8 kB / 0.8217 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4256, allocations: 5.938 kB / 0.8217 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4256, allocations: 0 / 0.8217 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4256, allocations: 0 / 0.8217 GB, free: 15.7 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.0004332/0.4261, allocations: 365.4 kB / 0.822 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4261, allocations: 9.953 kB / 0.822 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.4262, allocations: 11.11 kB / 0.822 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.4262, allocations: 118.2 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4263, allocations: 7.75 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4263, allocations: 17.92 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.4264, allocations: 54.25 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4264, allocations: 0 / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4264, allocations: 0.8438 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4264, allocations: 1.438 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.4264, allocations: 12.98 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.4268, allocations: 277.2 kB / 0.8225 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.4269, allocations: 39.53 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.4269, allocations: 24.08 kB / 0.8226 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.4269, allocations: 0 / 0.8226 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4271, allocations: 94.59 kB / 0.8226 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.4271, allocations: 0 / 0.8226 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002303/0.4273, allocations: 132.2 kB / 0.8228 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4273, allocations: 56.69 kB / 0.8228 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.4274, allocations: 121.7 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4274, allocations: 34.27 kB / 0.823 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.4275, allocations: 96.61 kB / 0.8231 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4275, allocations: 22.11 kB / 0.8231 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.4276, allocations: 52.02 kB / 0.8231 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.4276, allocations: 327.5 kB / 0.8234 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4278, allocations: 120.8 kB / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.4279, allocations: 169.3 kB / 0.8237 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.428, allocations: 180.9 kB / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.428, allocations: 0 / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003238/0.4284, allocations: 349.2 kB / 0.8242 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.4284, allocations: 71.64 kB / 0.8243 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4284, allocations: 1.312 kB / 0.8243 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4284, allocations: 3.672 kB / 0.8243 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.4285, allocations: 4.891 kB / 0.8243 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4285, allocations: 5.906 kB / 0.8243 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.4287, allocations: 53.27 kB / 0.8244 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4287, allocations: 16.95 kB / 0.8244 GB, free: 13.38 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.212e-05/0.4288, allocations: 124 kB / 0.8245 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.4288, allocations: 7.953 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.4288, allocations: 11.55 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4288, allocations: 5.375 kB / 0.8245 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4288, allocations: 4.984 kB / 0.8245 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4288, allocations: 0.75 kB / 0.8245 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.4291, allocations: 308.5 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4291, allocations: 0 / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.4291, allocations: 10.19 kB / 0.8248 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4291, allocations: 1.406 kB / 0.8248 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.4291, allocations: 2.016 kB / 0.8248 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4291, allocations: 0.7031 kB / 0.8248 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4291, allocations: 1.156 kB / 0.8248 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.4292, allocations: 203.4 kB / 0.825 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.4292, allocations: 11.2 kB / 0.825 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4292, allocations: 2.062 kB / 0.825 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.4293, allocations: 5.344 kB / 0.8251 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.4293, allocations: 6.625 kB / 0.8251 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4293, allocations: 3.547 kB / 0.8251 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.4294, allocations: 100.2 kB / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4294, allocations: 0 / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001896/0.4295, allocations: 33.53 kB / 0.8252 GB, free: 12.7 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.0001072/0.4297, allocations: 100.4 kB / 0.8253 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.4299, allocations: 293 kB / 0.8256 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4299, allocations: 1.156 kB / 0.8256 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.43, allocations: 28.27 kB / 0.8256 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.4302, allocations: 26.69 kB / 0.8256 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.4305, allocations: 198.4 kB / 0.8258 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.4306, allocations: 75.89 kB / 0.8259 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.4306, allocations: 12.52 kB / 0.8259 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4306, allocations: 0 / 0.8259 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.002579/0.4332, allocations: 1.502 MB / 0.8274 GB, free: 11.96 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.264287102036178] Failed to read output from testmodel.py, exit status != 0: 0.43872617604210973 0.448214641 0.020667214 Calling exit ...