Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",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.00115/0.00115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00124/0.00124, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6719/0.6719, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 60.22 kB / 0.5013 GB, free: 9.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 80.21 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002213/0.1269, allocations: 1.48 MB / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005832/0.1275, allocations: 427 kB / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.1275, allocations: 0 / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1275, allocations: 0 / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.1276, allocations: 11.92 kB / 0.5815 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1277, allocations: 23.92 kB / 0.5816 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.1278, allocations: 55.78 kB / 0.5816 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.1279, allocations: 4 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.128, allocations: 23.86 kB / 0.5816 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.128, allocations: 23.91 kB / 0.5817 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.128, allocations: 4 kB / 0.5817 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.128, allocations: 4 kB / 0.5817 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.1281, allocations: 4 kB / 0.5817 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1281, allocations: 27.86 kB / 0.5817 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.1282, allocations: 40.16 kB / 0.5817 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1282, allocations: 0 / 0.5817 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1282, allocations: 0 / 0.5817 GB, free: 6.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1282, allocations: 0 / 0.5817 GB, free: 6.902 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000478/0.1287, allocations: 401 kB / 0.5821 GB, free: 6.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1287, allocations: 8.031 kB / 0.5821 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.1288, allocations: 38.69 kB / 0.5822 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.1288, allocations: 0.9375 kB / 0.5822 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.1289, allocations: 176.2 kB / 0.5823 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1289, allocations: 4.375 kB / 0.5823 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.1289, allocations: 4.375 kB / 0.5823 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.129, allocations: 49.81 kB / 0.5824 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.129, allocations: 0 / 0.5824 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1291, allocations: 8 kB / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1291, allocations: 4 kB / 0.5824 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.1291, allocations: 19.98 kB / 0.5824 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.1294, allocations: 272.7 kB / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.1295, allocations: 42.56 kB / 0.5827 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.1295, allocations: 20.98 kB / 0.5827 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1296, allocations: 7.984 kB / 0.5827 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1297, allocations: 105 kB / 0.5828 GB, free: 5.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/0.1297, allocations: 7.984 kB / 0.5829 GB, free: 5.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002244/0.13, allocations: 135.6 kB / 0.583 GB, free: 5.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.13, allocations: 85.05 kB / 0.5831 GB, free: 5.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.1301, allocations: 109.8 kB / 0.5832 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1301, allocations: 33.64 kB / 0.5832 GB, free: 5.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1301, allocations: 96.03 kB / 0.5833 GB, free: 5.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1302, allocations: 15.81 kB / 0.5833 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1302, allocations: 21.72 kB / 0.5833 GB, free: 5.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.1303, allocations: 322.8 kB / 0.5836 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.1303, allocations: 12 kB / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1304, allocations: 38.56 kB / 0.5837 GB, free: 4.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.1305, allocations: 121.9 kB / 0.5838 GB, free: 4.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1305, allocations: 0 / 0.5838 GB, free: 4.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001317/0.1306, allocations: 123.3 kB / 0.5839 GB, free: 4.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1306, allocations: 31.89 kB / 0.5839 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1307, allocations: 0 / 0.5839 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1307, allocations: 7.984 kB / 0.584 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.1307, allocations: 0 / 0.584 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1307, allocations: 4 kB / 0.584 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.1308, allocations: 15.91 kB / 0.584 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1308, allocations: 4 kB / 0.584 GB, free: 4.305 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.76e-05/0.1309, allocations: 156.9 kB / 0.5841 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.1309, allocations: 8 kB / 0.5841 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.1309, allocations: 4.375 kB / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1309, allocations: 0 / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1309, allocations: 0 / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.131, allocations: 0 / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.1313, allocations: 412 kB / 0.5845 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1313, allocations: 3.938 kB / 0.5845 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-06/0.1313, allocations: 4 kB / 0.5845 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1313, allocations: 0 / 0.5845 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1313, allocations: 4 kB / 0.5845 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1313, allocations: 0 / 0.5845 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1314, allocations: 7.938 kB / 0.5846 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.1315, allocations: 225.2 kB / 0.5848 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.1316, allocations: 89.02 kB / 0.5849 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1316, allocations: 3.984 kB / 0.5849 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.1317, allocations: 16.06 kB / 0.5849 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1318, allocations: 11.92 kB / 0.5849 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1318, allocations: 0 / 0.5849 GB, free: 3.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.1318, allocations: 91.27 kB / 0.585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1318, allocations: 0 / 0.585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.132, allocations: 12 kB / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.00039/0.1324, allocations: 0.7648 MB / 0.5857 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1326, allocations: 123.3 kB / 0.5858 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1326, allocations: 0 / 0.5858 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.1327, allocations: 87.39 kB / 0.5859 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.133, allocations: 24.58 kB / 0.586 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.134, allocations: 1.437 MB / 0.5874 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1342, allocations: 0.6846 MB / 0.588 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.1343, allocations: 4 kB / 0.588 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1343, allocations: 23.7 kB / 0.5881 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1343, allocations: 0 / 0.5881 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.76/1.894, allocations: 1.732 MB / 0.5897 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/1.895, allocations: 191.3 kB / 0.5899 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/3.726, allocations: 0 / 0.5899 GB, free: 13.98 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)