Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7587/0.7587, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.77 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.7e-05/4.713e-05, allocations: 6.234 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6986/0.8952, allocations: 112 MB / 0.7499 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.8955, allocations: 71.38 kB / 0.7499 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003959/0.8995, allocations: 1.4 MB / 0.7513 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8995, allocations: 0 / 0.7513 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.8995, allocations: 0 / 0.7513 GB, free: 27.59 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004194/0.8999, allocations: 364.5 kB / 0.7516 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.9, allocations: 11.47 kB / 0.7516 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.9, allocations: 39.5 kB / 0.7517 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.9001, allocations: 7.781 kB / 0.7517 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.9002, allocations: 166.4 kB / 0.7519 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.9002, allocations: 7.75 kB / 0.7519 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.9003, allocations: 3.844 kB / 0.7519 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.9004, allocations: 56.12 kB / 0.7519 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.9004, allocations: 0 / 0.7519 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.9004, allocations: 3.141 kB / 0.7519 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9004, allocations: 0 / 0.7519 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.9005, allocations: 23.06 kB / 0.7519 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.901, allocations: 306 kB / 0.7522 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.9011, allocations: 53.02 kB / 0.7523 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.9011, allocations: 28.2 kB / 0.7523 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.9012, allocations: 6.5 kB / 0.7523 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.9013, allocations: 68.25 kB / 0.7524 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.9013, allocations: 0 / 0.7524 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001893/0.9015, allocations: 88.94 kB / 0.7525 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.9016, allocations: 57.97 kB / 0.7525 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.9017, allocations: 96.72 kB / 0.7526 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.9017, allocations: 41.12 kB / 0.7527 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.9017, allocations: 90.84 kB / 0.7527 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.9018, allocations: 19.56 kB / 0.7528 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.9018, allocations: 3.938 kB / 0.7528 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9019, allocations: 318 kB / 0.7531 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.902, allocations: 15.16 kB / 0.7531 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.902, allocations: 38.81 kB / 0.7531 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.9021, allocations: 34.55 kB / 0.7532 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9021, allocations: 0 / 0.7532 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000123/0.9022, allocations: 100.9 kB / 0.7532 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.9022, allocations: 3.875 kB / 0.7533 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.9022, allocations: 0 / 0.7533 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9022, allocations: 3.844 kB / 0.7533 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.9023, allocations: 7.688 kB / 0.7533 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.9023, allocations: 3.953 kB / 0.7533 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.9024, allocations: 14.95 kB / 0.7533 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.9024, allocations: 3.875 kB / 0.7533 GB, free: 25.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.9025, allocations: 112.5 kB / 0.7534 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.9025, allocations: 3.906 kB / 0.7534 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.9026, allocations: 15.16 kB / 0.7534 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9026, allocations: 0 / 0.7534 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9026, allocations: 0 / 0.7534 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.9026, allocations: 3.953 kB / 0.7534 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.903, allocations: 361 kB / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9031, allocations: 0 / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.9031, allocations: 3.844 kB / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9031, allocations: 0 / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.9031, allocations: 3.812 kB / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9031, allocations: 7.891 kB / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.9031, allocations: 3.938 kB / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.9033, allocations: 183.8 kB / 0.754 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.9034, allocations: 84.05 kB / 0.754 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.9034, allocations: 0 / 0.754 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.9035, allocations: 11 kB / 0.754 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.9035, allocations: 10.92 kB / 0.7541 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.9035, allocations: 3.969 kB / 0.7541 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.9036, allocations: 86.97 kB / 0.7541 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9036, allocations: 0 / 0.7541 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002143/0.9038, allocations: 11.53 kB / 0.7542 GB, free: 25.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004673/0.9043, allocations: 0.7201 MB / 0.7549 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.9044, allocations: 58.3 kB / 0.7549 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9044, allocations: 4.062 kB / 0.7549 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.9045, allocations: 25.03 kB / 0.7549 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.9047, allocations: 10.59 kB / 0.7549 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.905, allocations: 127.4 kB / 0.7551 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.9054, allocations: 0.6891 MB / 0.7557 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.9054, allocations: 6.688 kB / 0.7557 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.9054, allocations: 15.09 kB / 0.7558 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.9055, allocations: 7.938 kB / 0.7558 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.9185, allocations: 1.485 MB / 0.7572 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.9188, allocations: 150.8 kB / 0.7574 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.526, allocations: 0 / 0.7574 GB, free: 23.19 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)