Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_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.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9397/0.9397, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.05 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002692/0.1443, allocations: 1.46 MB / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.145, allocations: 444.6 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.1451, allocations: 0 / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.1451, allocations: 3.938 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.1452, allocations: 7.922 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.1453, allocations: 27.84 kB / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.1454, allocations: 47.92 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.1455, allocations: 15.98 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.1456, allocations: 19.92 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.1456, allocations: 23.91 kB / 0.5865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1457, allocations: 7.938 kB / 0.5865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.1457, allocations: 4 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.1457, allocations: 11.98 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.1457, allocations: 23.88 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.196e-05/0.1458, allocations: 44.14 kB / 0.5866 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1458, allocations: 4 kB / 0.5866 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1459, allocations: 0 / 0.5866 GB, free: 2.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1459, allocations: 0 / 0.5866 GB, free: 2.324 MB / 494.1 MB 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.0004379/0.1463, allocations: 359.4 kB / 0.5869 GB, free: 1.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1463, allocations: 8.031 kB / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.1464, allocations: 38.75 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.1464, allocations: 8.781 kB / 0.587 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1465, allocations: 172.3 kB / 0.5871 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1466, allocations: 8.375 kB / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1466, allocations: 8.375 kB / 0.5871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1467, allocations: 57.75 kB / 0.5872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1467, allocations: 0 / 0.5872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1467, allocations: 3.938 kB / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1467, allocations: 4 kB / 0.5872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.1468, allocations: 27.97 kB / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1472, allocations: 300.7 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1474, allocations: 54.56 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.1474, allocations: 32.92 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.1474, allocations: 0 / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1476, allocations: 75.42 kB / 0.5877 GB, free: 1.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1476, allocations: 0 / 0.5877 GB, free: 1.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001962/0.1478, allocations: 105.5 kB / 0.5878 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1478, allocations: 55.41 kB / 0.5878 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1479, allocations: 105.8 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1479, allocations: 29.7 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.148, allocations: 84.05 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.148, allocations: 27.72 kB / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1481, allocations: 25.72 kB / 0.5881 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.1481, allocations: 330.8 kB / 0.5884 GB, free: 220 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.1482, allocations: 12 kB / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.1482, allocations: 51.03 kB / 0.5885 GB, free: 148 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.1483, allocations: 63.36 kB / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1483, allocations: 4 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.1485, allocations: 101.5 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1485, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1485, allocations: 3.938 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1485, allocations: 4 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.1486, allocations: 8 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1486, allocations: 0 / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.1487, allocations: 12.36 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1487, allocations: 7.938 kB / 0.5887 GB, free: 15.92 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 8.013e-05/0.1488, allocations: 122.4 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.1488, allocations: 7.906 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.1488, allocations: 11.91 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1489, allocations: 4 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1489, allocations: 0 / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1489, allocations: 4.266 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.1492, allocations: 350.5 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1493, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.1493, allocations: 8 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1493, allocations: 3.984 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1493, allocations: 0 / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1493, allocations: 12 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1493, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.1495, allocations: 183.4 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.1495, allocations: 81.05 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1495, allocations: 8 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.1496, allocations: 11.92 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1497, allocations: 7.984 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1497, allocations: 4 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.1497, allocations: 83.28 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1497, allocations: 3.938 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002346/0.15, allocations: 16 kB / 0.5895 GB, free: 14.91 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.0003648/0.1503, allocations: 0.7126 MB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1505, allocations: 59.84 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1505, allocations: 0 / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.1506, allocations: 27.94 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1508, allocations: 15.92 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1519, allocations: 1.359 MB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1521, allocations: 0.6846 MB / 0.5923 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.1522, allocations: 8 kB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.1522, allocations: 19.42 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1522, allocations: 3.938 kB / 0.5924 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/0.9116, allocations: 1.735 MB / 0.594 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.813/10.72, allocations: 16.22 kB / 0.5941 GB, free: 10.23 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)