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.0009661/0.0009661, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001004/0.001004, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8391/0.8391, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001127, allocations: 60.03 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 80.91 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002505/0.1316, allocations: 1.539 MB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.1323, allocations: 427 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.1324, allocations: 4 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.1324, allocations: 3.984 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.1325, allocations: 15.92 kB / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.1326, allocations: 15.98 kB / 0.5857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.1327, allocations: 47.86 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.1328, allocations: 11.98 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.1329, allocations: 23.86 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.1329, allocations: 19.91 kB / 0.5858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.133, allocations: 8 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.133, allocations: 4 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.133, allocations: 7.984 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.1331, allocations: 23.88 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.097e-05/0.1332, allocations: 36.16 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1332, allocations: 4 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1332, allocations: 0 / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.1332, allocations: 0 / 0.5859 GB, free: 2.719 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.0004507/0.1336, allocations: 361.5 kB / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1337, allocations: 16.03 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.1337, allocations: 30.75 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.1338, allocations: 8.844 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1339, allocations: 176.2 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1339, allocations: 8.375 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1339, allocations: 4.375 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.134, allocations: 57.75 kB / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.134, allocations: 0 / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1341, allocations: 11.94 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1341, allocations: 3.984 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.824e-05/0.1341, allocations: 27.92 kB / 0.5866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.1346, allocations: 304.7 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.1347, allocations: 54.59 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.1348, allocations: 28.94 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1348, allocations: 0 / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1349, allocations: 71.39 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1349, allocations: 0 / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002086/0.1352, allocations: 101.5 kB / 0.5871 GB, free: 1.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1352, allocations: 51.41 kB / 0.5872 GB, free: 1.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.1353, allocations: 109.8 kB / 0.5873 GB, free: 1.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1353, allocations: 29.7 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.1353, allocations: 92.05 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1354, allocations: 23.72 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.1354, allocations: 29.72 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.1355, allocations: 318.8 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.1355, allocations: 15.94 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.1356, allocations: 47.42 kB / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.1357, allocations: 75.53 kB / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1357, allocations: 0 / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/0.1358, allocations: 97.52 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1358, allocations: 4 kB / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1358, allocations: 4 kB / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1359, allocations: 0 / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.1359, allocations: 8.375 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1359, allocations: 7.969 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.136, allocations: 11.98 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.136, allocations: 3.938 kB / 0.588 GB, free: 320 kB / 494.1 MB 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 7.538e-05/0.1361, allocations: 133.7 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.1361, allocations: 3.906 kB / 0.5882 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.1362, allocations: 7.969 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1362, allocations: 4 kB / 0.5882 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1362, allocations: 4.062 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1362, allocations: 3.984 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.1365, allocations: 354.5 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1366, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.1366, allocations: 7.938 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1366, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1366, allocations: 4 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.1366, allocations: 3.938 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1366, allocations: 0 / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1368, allocations: 187.4 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.1368, allocations: 81.05 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1369, allocations: 4 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.137, allocations: 15.92 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.137, allocations: 7.984 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.137, allocations: 0 / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.1371, allocations: 83.28 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1371, allocations: 0 / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002282/0.1373, allocations: 16 kB / 0.5889 GB, free: 15.3 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.0003905/0.1377, allocations: 0.7205 MB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1378, allocations: 51.91 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1378, allocations: 4 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.1379, allocations: 28 kB / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1382, allocations: 23.97 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1392, allocations: 1.365 MB / 0.591 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1394, allocations: 0.6848 MB / 0.5917 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.1395, allocations: 4 kB / 0.5917 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1395, allocations: 23.42 kB / 0.5917 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1395, allocations: 0 / 0.5917 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4807/0.6202, allocations: 1.543 MB / 0.5932 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.6206, allocations: 198.7 kB / 0.5934 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.297, allocations: 4.062 kB / 0.5934 GB, free: 10.59 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)