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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005591/0.005591, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001407/0.001407, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001824, allocations: 63.91 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4082, allocations: 80.21 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002239/0.4105, allocations: 1.469 MB / 0.6606 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.4112, allocations: 447 kB / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.4112, allocations: 0.75 kB / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.4113, allocations: 5.719 kB / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.4113, allocations: 6.641 kB / 0.6611 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.4115, allocations: 29.05 kB / 0.6611 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.4116, allocations: 46.72 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.4117, allocations: 15.78 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.4117, allocations: 23.75 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.4118, allocations: 23.55 kB / 0.6612 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.4118, allocations: 4.656 kB / 0.6612 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.4118, allocations: 3.062 kB / 0.6612 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.4119, allocations: 17.14 kB / 0.6612 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.4119, allocations: 20.92 kB / 0.6612 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.412, allocations: 42.66 kB / 0.6613 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.412, allocations: 5.938 kB / 0.6613 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.412, allocations: 0 / 0.6613 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4121, allocations: 0 / 0.6613 GB, free: 8.418 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.0004218/0.4125, allocations: 358.6 kB / 0.6616 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.4125, allocations: 8.781 kB / 0.6616 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.4125, allocations: 38.34 kB / 0.6617 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.4126, allocations: 8.375 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.39e-05/0.4127, allocations: 172.4 kB / 0.6618 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4127, allocations: 7.062 kB / 0.6618 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.4127, allocations: 9.328 kB / 0.6618 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4128, allocations: 60.83 kB / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4128, allocations: 0 / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4128, allocations: 2.391 kB / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4129, allocations: 1.375 kB / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.4129, allocations: 30.42 kB / 0.6619 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.4133, allocations: 302.4 kB / 0.6622 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4134, allocations: 57.62 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.4135, allocations: 27.02 kB / 0.6623 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4135, allocations: 1.594 kB / 0.6623 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.4136, allocations: 68.86 kB / 0.6624 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4136, allocations: 5.438 kB / 0.6624 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002004/0.4138, allocations: 103.2 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.4139, allocations: 55.36 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/0.4139, allocations: 103.8 kB / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.4139, allocations: 31.05 kB / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.414, allocations: 86.39 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.414, allocations: 16.73 kB / 0.6628 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.414, allocations: 34.17 kB / 0.6628 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.4141, allocations: 321.8 kB / 0.6631 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.4141, allocations: 19.31 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.4142, allocations: 44.67 kB / 0.6632 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.4143, allocations: 68.42 kB / 0.6632 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4143, allocations: 1.531 kB / 0.6632 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001199/0.4144, allocations: 98.14 kB / 0.6633 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4144, allocations: 8.688 kB / 0.6633 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.4144, allocations: 1.094 kB / 0.6633 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4144, allocations: 7.344 kB / 0.6633 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.4145, allocations: 13.19 kB / 0.6633 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4145, allocations: 1.797 kB / 0.6633 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.4146, allocations: 17.53 kB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4146, allocations: 8.812 kB / 0.6634 GB, free: 6.441 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.384e-05/0.4146, allocations: 115.7 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.4147, allocations: 2.625 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.4147, allocations: 13.88 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4147, allocations: 2.5 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.4147, allocations: 0 / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4147, allocations: 0 / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.415, allocations: 359.9 kB / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.415, allocations: 2.094 kB / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.4151, allocations: 15.41 kB / 0.6639 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4151, allocations: 1.406 kB / 0.6639 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.4151, allocations: 4.75 kB / 0.6639 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4151, allocations: 5.344 kB / 0.6639 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4151, allocations: 0 / 0.6639 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.4152, allocations: 179.1 kB / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.4152, allocations: 86.94 kB / 0.6641 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4153, allocations: 1.734 kB / 0.6641 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.4153, allocations: 10.12 kB / 0.6641 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.4154, allocations: 10.53 kB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4154, allocations: 7.016 kB / 0.6642 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.4154, allocations: 80.47 kB / 0.6642 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4154, allocations: 1.125 kB / 0.6642 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.4157, allocations: 14.88 kB / 0.6642 GB, free: 5.613 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.0002755/0.4159, allocations: 0.7178 MB / 0.6649 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4161, allocations: 61.81 kB / 0.665 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4161, allocations: 0 / 0.665 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.887e-05/0.4161, allocations: 27.31 kB / 0.665 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.4164, allocations: 15.05 kB / 0.665 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.4173, allocations: 1.366 MB / 0.6664 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.4174, allocations: 0.6855 MB / 0.6671 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.4174, allocations: 4.125 kB / 0.6671 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4175, allocations: 17.16 kB / 0.6671 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4175, allocations: 0 / 0.6671 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.4409, allocations: 1.771 MB / 0.6688 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.636, allocations: 10.45 kB / 0.6688 GB, free: 2.02 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)