Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008391/0.00839, allocations: 101 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 196.4 kB / 16.68 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7784/0.7784, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001854, allocations: 63.89 kB / 0.5808 GB, free: 8.102 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.384, allocations: 80.21 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002209/0.3862, allocations: 1.459 MB / 0.6606 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006066/0.3868, allocations: 450.7 kB / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.3869, allocations: 2.062 kB / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.3869, allocations: 4.641 kB / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.387, allocations: 5.438 kB / 0.661 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.3872, allocations: 21.27 kB / 0.661 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.3873, allocations: 51.25 kB / 0.6611 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3874, allocations: 16.16 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.3874, allocations: 26.23 kB / 0.6611 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.3875, allocations: 19.53 kB / 0.6611 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3875, allocations: 4.062 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.3875, allocations: 4.188 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.3876, allocations: 13.86 kB / 0.6612 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.3876, allocations: 21.78 kB / 0.6612 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3877, allocations: 50.36 kB / 0.6612 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3877, allocations: 0 / 0.6612 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3877, allocations: 0.7969 kB / 0.6612 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.3877, allocations: 0 / 0.6612 GB, free: 8.422 MB / 0.4981 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.0004345/0.3882, allocations: 365.8 kB / 0.6616 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3882, allocations: 10.53 kB / 0.6616 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.491e-05/0.3882, allocations: 33.62 kB / 0.6616 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.3883, allocations: 7.969 kB / 0.6616 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.3884, allocations: 168.5 kB / 0.6618 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3884, allocations: 7 kB / 0.6618 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3884, allocations: 6.062 kB / 0.6618 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3885, allocations: 64.64 kB / 0.6619 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3885, allocations: 0 / 0.6619 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.3885, allocations: 5.656 kB / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.3886, allocations: 1.906 kB / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.3886, allocations: 25.73 kB / 0.6619 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.389, allocations: 299.4 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.3891, allocations: 52.97 kB / 0.6622 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3892, allocations: 31.58 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3892, allocations: 0 / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.3894, allocations: 78.08 kB / 0.6623 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.3894, allocations: 0 / 0.6623 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002053/0.3896, allocations: 102.2 kB / 0.6624 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3896, allocations: 57.31 kB / 0.6625 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.3897, allocations: 102.9 kB / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3897, allocations: 35.72 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.3897, allocations: 91.09 kB / 0.6627 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.3897, allocations: 17.36 kB / 0.6627 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3898, allocations: 28.73 kB / 0.6628 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.3898, allocations: 322.4 kB / 0.6631 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.3899, allocations: 16.41 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.3899, allocations: 43.77 kB / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.39, allocations: 73.98 kB / 0.6632 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.39, allocations: 4 kB / 0.6632 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001183/0.3901, allocations: 93.16 kB / 0.6633 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3901, allocations: 6.625 kB / 0.6633 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3902, allocations: 0 / 0.6633 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3902, allocations: 3.594 kB / 0.6633 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.3902, allocations: 13.2 kB / 0.6633 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3903, allocations: 6.016 kB / 0.6633 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.3903, allocations: 13.77 kB / 0.6633 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3903, allocations: 11.97 kB / 0.6633 GB, free: 6.445 MB / 0.4981 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.3904, allocations: 120.9 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.3904, allocations: 2.25 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3904, allocations: 10.05 kB / 0.6635 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3905, allocations: 1.906 kB / 0.6635 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3905, allocations: 0 / 0.6635 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3905, allocations: 5.766 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.3908, allocations: 363.2 kB / 0.6638 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3908, allocations: 5.312 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.3908, allocations: 3.406 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3908, allocations: 2.281 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3908, allocations: 0 / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3908, allocations: 6.109 kB / 0.6638 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3908, allocations: 0 / 0.6638 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.391, allocations: 183 kB / 0.664 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.391, allocations: 86.94 kB / 0.6641 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.391, allocations: 2.109 kB / 0.6641 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.3911, allocations: 10.38 kB / 0.6641 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3912, allocations: 10.59 kB / 0.6641 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3912, allocations: 2.172 kB / 0.6641 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.3912, allocations: 80.67 kB / 0.6642 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3912, allocations: 0 / 0.6642 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002211/0.3914, allocations: 21.02 kB / 0.6642 GB, free: 5.617 MB / 0.4981 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 () * 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.0002634/0.3917, allocations: 0.716 MB / 0.6649 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.3918, allocations: 58.33 kB / 0.665 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3918, allocations: 0 / 0.665 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.3919, allocations: 22.67 kB / 0.665 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.3922, allocations: 22.14 kB / 0.665 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.3931, allocations: 1.379 MB / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.944e-05/0.3933, allocations: 0.6898 MB / 0.667 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.3933, allocations: 6.203 kB / 0.667 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.3933, allocations: 19.95 kB / 0.6671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.3933, allocations: 0 / 0.6671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.4152, allocations: 1.747 MB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.949, allocations: 1.938 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)