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.0009963/0.0009962, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006797/0.006797, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8486/0.8486, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003181, allocations: 4 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001311/0.1296, allocations: 1.185 MB / 0.5892 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005207/0.1302, allocations: 431.1 kB / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.1302, allocations: 0 / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.1302, allocations: 3.984 kB / 0.5896 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.1303, allocations: 7.922 kB / 0.5897 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.1304, allocations: 15.98 kB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.1305, allocations: 51.8 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.1306, allocations: 11.98 kB / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.1306, allocations: 19.94 kB / 0.5897 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.1307, allocations: 23.89 kB / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1307, allocations: 0 / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.1307, allocations: 4 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.1307, allocations: 8 kB / 0.5898 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.1308, allocations: 45.56 kB / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.561e-05/0.1309, allocations: 36.16 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1309, allocations: 0 / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1309, allocations: 0 / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.1309, allocations: 3.938 kB / 0.5899 GB, free: 0.6562 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.0003841/0.1313, allocations: 359.4 kB / 0.5902 GB, free: 264 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1313, allocations: 12.03 kB / 0.5902 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.1313, allocations: 42.69 kB / 0.5903 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.1314, allocations: 8.844 kB / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1315, allocations: 168.5 kB / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1315, allocations: 4.359 kB / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1315, allocations: 8.375 kB / 0.5904 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.1316, allocations: 61.81 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1316, allocations: 0 / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1316, allocations: 3.938 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1316, allocations: 3.938 kB / 0.5905 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.1317, allocations: 27.98 kB / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1321, allocations: 308.5 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.1322, allocations: 58.59 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.1323, allocations: 28.94 kB / 0.5909 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.1323, allocations: 3.984 kB / 0.5909 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.1324, allocations: 67.39 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1324, allocations: 4 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0001818/0.1326, allocations: 101.5 kB / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1326, allocations: 55.41 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.1327, allocations: 109.8 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1327, allocations: 30.08 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.1328, allocations: 80.14 kB / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1328, allocations: 31.62 kB / 0.5914 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.1328, allocations: 17.72 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.1329, allocations: 334.7 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.1329, allocations: 12 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.133, allocations: 43.42 kB / 0.5918 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.1331, allocations: 67.36 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1331, allocations: 0 / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000126/0.1332, allocations: 97.53 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1332, allocations: 7.984 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1332, allocations: 0 / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1332, allocations: 4 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.1333, allocations: 11.94 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1333, allocations: 0 / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.1334, allocations: 15.98 kB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1334, allocations: 7.938 kB / 0.592 GB, free: 14.25 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 6.616e-05/0.1335, allocations: 117.9 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1335, allocations: 7.844 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.1335, allocations: 11.97 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1335, allocations: 0 / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1335, allocations: 64 / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1335, allocations: 4 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.1339, allocations: 362.4 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1339, allocations: 8 kB / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.1339, allocations: 4 kB / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1339, allocations: 4 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1339, allocations: 0 / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.134, allocations: 3.938 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.134, allocations: 0 / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.1341, allocations: 183.7 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.1341, allocations: 85.05 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1342, allocations: 8.172 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1342, allocations: 11.92 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1343, allocations: 11.92 kB / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1343, allocations: 8 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.1343, allocations: 79.28 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1343, allocations: 0 / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002144/0.1346, allocations: 16 kB / 0.5928 GB, free: 13.23 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.0003279/0.1349, allocations: 0.7163 MB / 0.5935 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.135, allocations: 59.84 kB / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.135, allocations: 0 / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.1351, allocations: 20 kB / 0.5936 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.1353, allocations: 23.58 kB / 0.5936 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.1363, allocations: 1.367 MB / 0.595 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.1364, allocations: 0.6888 MB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.1365, allocations: 7.984 kB / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.1365, allocations: 15.44 kB / 0.5957 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1365, allocations: 0 / 0.5957 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.5/1.636, allocations: 1.474 MB / 0.5971 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/1.636, allocations: 211.5 kB / 0.5973 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.439, allocations: 3.5 kB / 0.5973 GB, free: 8.613 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)