Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_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.0008995/0.0009, allocations: 89.97 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.008439/0.008439, allocations: 176.2 kB / 16.27 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8934/0.8934, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 14.02 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 82.3 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001409/0.1412, allocations: 1.185 MB / 0.5892 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.1419, allocations: 419.1 kB / 0.5896 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.1419, allocations: 3.938 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1419, allocations: 0 / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.142, allocations: 11.92 kB / 0.5896 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.1422, allocations: 23.97 kB / 0.5897 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.1422, allocations: 43.92 kB / 0.5897 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.1423, allocations: 15.98 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.1424, allocations: 11.88 kB / 0.5897 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.1425, allocations: 23.91 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1425, allocations: 0 / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1425, allocations: 4 kB / 0.5898 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.1425, allocations: 11.92 kB / 0.5898 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.1426, allocations: 53.61 kB / 0.5898 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.293e-05/0.1426, allocations: 32.16 kB / 0.5898 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1427, allocations: 7.938 kB / 0.5899 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1427, allocations: 0 / 0.5899 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1427, allocations: 0 / 0.5899 GB, free: 0.6836 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.000422/0.1431, allocations: 357.7 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1431, allocations: 12.03 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.1432, allocations: 42.73 kB / 0.5902 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1432, allocations: 8.844 kB / 0.5903 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1433, allocations: 168.3 kB / 0.5904 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1434, allocations: 8.375 kB / 0.5904 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1434, allocations: 4.375 kB / 0.5904 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1435, allocations: 57.8 kB / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1435, allocations: 4 kB / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1435, allocations: 0 / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1435, allocations: 0 / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.1436, allocations: 35.86 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.144, allocations: 308.7 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.1441, allocations: 54.56 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.1442, allocations: 32.98 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1442, allocations: 3.984 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1443, allocations: 67.39 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1444, allocations: 0 / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002019/0.1446, allocations: 101.5 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1446, allocations: 55.41 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.1447, allocations: 105.8 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1447, allocations: 33.7 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1447, allocations: 84.14 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1448, allocations: 23.66 kB / 0.5914 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1448, allocations: 21.7 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.1449, allocations: 314.8 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.1449, allocations: 19.98 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.145, allocations: 51.3 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.1451, allocations: 71.36 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1451, allocations: 0 / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001381/0.1452, allocations: 97.7 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1453, allocations: 8 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1453, allocations: 0 / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1453, allocations: 0 / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.1453, allocations: 15.98 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1454, allocations: 3.938 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.1454, allocations: 12.03 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1454, allocations: 3.938 kB / 0.5919 GB, free: 14.29 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 7.929e-05/0.1455, allocations: 129.1 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1455, allocations: 4.281 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.1456, allocations: 7.969 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1456, allocations: 4 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1456, allocations: 0 / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1456, allocations: 3.938 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.146, allocations: 366.5 kB / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.146, allocations: 0 / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.146, allocations: 11.92 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.146, allocations: 0 / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.146, allocations: 4 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.146, allocations: 3.938 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.146, allocations: 4 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.1462, allocations: 183.4 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.1462, allocations: 81.05 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1462, allocations: 4 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.1463, allocations: 15.92 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1464, allocations: 7.984 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1464, allocations: 4 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.1464, allocations: 87.28 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1464, allocations: 0 / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002193/0.1467, allocations: 8 kB / 0.5928 GB, free: 13.27 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.0003691/0.147, allocations: 0.7124 MB / 0.5935 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.1472, allocations: 60.14 kB / 0.5936 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1472, allocations: 3.938 kB / 0.5936 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.1472, allocations: 31.92 kB / 0.5936 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1475, allocations: 19.02 kB / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1486, allocations: 1.386 MB / 0.595 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1488, allocations: 0.6926 MB / 0.5957 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.1489, allocations: 4.422 kB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1489, allocations: 23.44 kB / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1489, allocations: 0 / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.161/1.31, allocations: 1.462 MB / 0.5971 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/1.31, allocations: 179.4 kB / 0.5973 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.466, allocations: 0 / 0.5973 GB, free: 8.617 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)