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.001207/0.001207, 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.001029/0.001029, allocations: 193.7 kB / 16.14 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.231/1.231, 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.8337/0.8337, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.78 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1424, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002431/0.1449, allocations: 1.512 MB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.1455, allocations: 435 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1456, allocations: 0 / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.1456, allocations: 3.938 kB / 0.5857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.1457, allocations: 7.938 kB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1458, allocations: 23.92 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.1459, allocations: 51.83 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.146, allocations: 8 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.146, allocations: 27.86 kB / 0.5858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1461, allocations: 23.91 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1461, allocations: 4 kB / 0.5858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.1461, allocations: 4 kB / 0.5858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.1461, allocations: 4 kB / 0.5858 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.1462, allocations: 27.84 kB / 0.5859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.723e-05/0.1463, allocations: 32.17 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1463, allocations: 4 kB / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1463, allocations: 0 / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1463, allocations: 0 / 0.5859 GB, free: 2.715 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.0004934/0.1468, allocations: 365.5 kB / 0.5863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1468, allocations: 12.03 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1469, allocations: 42.72 kB / 0.5863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1469, allocations: 8.844 kB / 0.5863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.147, allocations: 168.3 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1471, allocations: 8.375 kB / 0.5865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1471, allocations: 4.375 kB / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1472, allocations: 61.73 kB / 0.5865 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1472, allocations: 0 / 0.5865 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1472, allocations: 4 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1472, allocations: 4 kB / 0.5866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.1473, allocations: 23.98 kB / 0.5866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1478, allocations: 304.6 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.1479, allocations: 50.56 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.1479, allocations: 28.95 kB / 0.5869 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1479, allocations: 4 kB / 0.5869 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.1481, allocations: 79.39 kB / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1481, allocations: 0 / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002026/0.1483, allocations: 105.5 kB / 0.5871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1484, allocations: 51.41 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.1484, allocations: 109.8 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1485, allocations: 29.7 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.1485, allocations: 88.05 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1485, allocations: 19.75 kB / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.1486, allocations: 29.7 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1487, allocations: 318.8 kB / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.1487, allocations: 19.98 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.1488, allocations: 47.42 kB / 0.5878 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.1489, allocations: 63.38 kB / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1489, allocations: 0 / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000136/0.149, allocations: 101.7 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1491, allocations: 4 kB / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1491, allocations: 4 kB / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1491, allocations: 4 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.1492, allocations: 20.02 kB / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1492, allocations: 4 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.1492, allocations: 8 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1493, allocations: 3.938 kB / 0.588 GB, free: 312 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.726e-05/0.1493, allocations: 126.4 kB / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.1494, allocations: 3.906 kB / 0.5881 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.1494, allocations: 11.97 kB / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1494, allocations: 0 / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1494, allocations: 0 / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1494, allocations: 4 kB / 0.5881 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.1498, allocations: 354.4 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1498, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.1498, allocations: 8.453 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1499, allocations: 4 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1499, allocations: 4 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1499, allocations: 3.938 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1499, allocations: 0 / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.15, allocations: 187.3 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.1501, allocations: 89.05 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1501, allocations: 0 / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1502, allocations: 11.92 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1502, allocations: 4 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1502, allocations: 11.92 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.1503, allocations: 79.28 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1503, allocations: 4 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002204/0.1505, allocations: 16 kB / 0.5889 GB, free: 15.29 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.0003975/0.1509, allocations: 0.7148 MB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.1511, allocations: 51.92 kB / 0.5896 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1511, allocations: 4.062 kB / 0.5896 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.163e-05/0.1511, allocations: 31.92 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.0002524/0.1514, allocations: 15.92 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.001269/0.1527, allocations: 1.374 MB / 0.591 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.153, allocations: 0.6887 MB / 0.5917 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.153, allocations: 4 kB / 0.5917 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.1531, allocations: 23.36 kB / 0.5917 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1531, allocations: 0 / 0.5917 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2878/0.4409, allocations: 1.535 MB / 0.5932 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.4412, allocations: 180.2 kB / 0.5934 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.063, allocations: 0 / 0.5934 GB, free: 10.57 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)