Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_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.004723/0.004723, allocations: 101.8 kB / 15.73 MB, free: 5.551 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.00134/0.00134, allocations: 195 kB / 16.67 MB, free: 5.477 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7771/0.7771, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 70.52 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.127, allocations: 81.02 MB / 0.6648 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002338/0.1294, allocations: 1.41 MB / 0.6662 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.1301, allocations: 434.9 kB / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.1302, allocations: 0 / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.1302, allocations: 11.92 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.1303, allocations: 7.875 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.1304, allocations: 23.97 kB / 0.6667 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1305, allocations: 55.84 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.304e-05/0.1306, allocations: 4 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.1307, allocations: 23.86 kB / 0.6667 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.1307, allocations: 15.92 kB / 0.6668 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1308, allocations: 4 kB / 0.6668 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.1308, allocations: 4 kB / 0.6668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1308, allocations: 15.92 kB / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.1309, allocations: 19.92 kB / 0.6668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.131, allocations: 44.05 kB / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.131, allocations: 0 / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.131, allocations: 4 kB / 0.6668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.131, allocations: 0 / 0.6668 GB, free: 3.594 MB / 0.4981 GB 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.000572/0.1316, allocations: 397 kB / 0.6672 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1316, allocations: 9.109 kB / 0.6672 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.1317, allocations: 34.75 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1317, allocations: 12.92 kB / 0.6673 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1318, allocations: 172.3 kB / 0.6674 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1318, allocations: 12.38 kB / 0.6674 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1319, allocations: 384 / 0.6674 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.132, allocations: 53.8 kB / 0.6675 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.132, allocations: 0 / 0.6675 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.132, allocations: 8 kB / 0.6675 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.132, allocations: 0 / 0.6675 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.1321, allocations: 15.94 kB / 0.6675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1324, allocations: 268.8 kB / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.1325, allocations: 42.58 kB / 0.6678 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.1326, allocations: 28.91 kB / 0.6678 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1326, allocations: 0 / 0.6678 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1328, allocations: 105 kB / 0.6679 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.1328, allocations: 3.984 kB / 0.6679 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002614/0.1331, allocations: 143.3 kB / 0.6681 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1331, allocations: 89.11 kB / 0.6682 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1332, allocations: 105.8 kB / 0.6683 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1332, allocations: 33.69 kB / 0.6683 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.1333, allocations: 84.14 kB / 0.6684 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1333, allocations: 23.8 kB / 0.6684 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.1334, allocations: 25.7 kB / 0.6684 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1335, allocations: 318.8 kB / 0.6687 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.1335, allocations: 19.98 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.1336, allocations: 34.58 kB / 0.6688 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1337, allocations: 117.8 kB / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1337, allocations: 0 / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000155/0.1339, allocations: 127.3 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.1339, allocations: 37.69 kB / 0.6691 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1339, allocations: 8.062 kB / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.1339, allocations: 0 / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.505e-05/0.134, allocations: 4 kB / 0.6691 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.134, allocations: 0 / 0.6691 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.134, allocations: 7.984 kB / 0.6691 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1341, allocations: 4 kB / 0.6691 GB, free: 0.9961 MB / 0.4981 GB 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 0.0001035/0.1342, allocations: 151.4 kB / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1342, allocations: 7.953 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.1342, allocations: 8.375 kB / 0.6692 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1342, allocations: 4 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1342, allocations: 7.984 kB / 0.6693 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1342, allocations: 384 / 0.6693 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.1346, allocations: 400.1 kB / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1346, allocations: 0 / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-06/0.1347, allocations: 0 / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1347, allocations: 0 / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1347, allocations: 12.06 kB / 0.6696 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1347, allocations: 0 / 0.6696 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1347, allocations: 3.938 kB / 0.6696 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1349, allocations: 237.1 kB / 0.6699 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.135, allocations: 81.09 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.135, allocations: 4 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1351, allocations: 8 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1351, allocations: 11.92 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1352, allocations: 4 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.1352, allocations: 91.27 kB / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1352, allocations: 0 / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002208/0.1355, allocations: 16 kB / 0.6701 GB, free: 15.85 MB / 0.5137 GB 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.0004919/0.1359, allocations: 0.757 MB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1361, allocations: 123.2 kB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1361, allocations: 4.125 kB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1362, allocations: 91.39 kB / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1365, allocations: 16.89 kB / 0.671 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1378, allocations: 1.427 MB / 0.6724 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1381, allocations: 0.6962 MB / 0.6731 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.1381, allocations: 11.64 kB / 0.6731 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.1382, allocations: 15.44 kB / 0.6731 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1382, allocations: 0 / 0.6731 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1983/0.3365, allocations: 1.884 MB / 0.675 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.477, allocations: 4.5 kB / 0.675 GB, free: 10.72 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)