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.000748/0.0007478, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0008145/0.0008145, allocations: 172.7 kB / 16.27 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.169/1.169, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7995/0.7995, allocations: 135.3 MB / 426.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 8.969 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 82.32 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001261/0.1261, allocations: 1.133 MB / 0.5892 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.1267, allocations: 427.1 kB / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.1267, allocations: 0 / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.1268, allocations: 3.938 kB / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.1268, allocations: 15.94 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.127, allocations: 15.97 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.127, allocations: 47.8 kB / 0.5897 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.1271, allocations: 8 kB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1272, allocations: 11.92 kB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.1272, allocations: 23.86 kB / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1272, allocations: 0 / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.1272, allocations: 4 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1273, allocations: 7.984 kB / 0.5897 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.1273, allocations: 57.5 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.302e-05/0.1274, allocations: 36.16 kB / 0.5898 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1274, allocations: 0 / 0.5898 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1274, allocations: 0 / 0.5898 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1274, allocations: 0 / 0.5898 GB, free: 0.7266 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.0004684/0.1279, allocations: 393 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1279, allocations: 12.03 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.128, allocations: 38.75 kB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.128, allocations: 0.9375 kB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.1281, allocations: 172.2 kB / 0.5904 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1281, allocations: 4.359 kB / 0.5904 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1281, allocations: 4.375 kB / 0.5904 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1283, allocations: 57.86 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.1283, allocations: 0 / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1283, allocations: 0 / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1283, allocations: 4 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.1284, allocations: 19.98 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1287, allocations: 272.8 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.1288, allocations: 42.56 kB / 0.5908 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1288, allocations: 24.75 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1288, allocations: 0 / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.129, allocations: 109.1 kB / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.129, allocations: 0 / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002319/0.1292, allocations: 139.2 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1293, allocations: 81.11 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.1294, allocations: 109.8 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1294, allocations: 25.7 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.1294, allocations: 92.2 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1294, allocations: 11.81 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1295, allocations: 25.7 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.1296, allocations: 318.8 kB / 0.5917 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.1296, allocations: 16.27 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.1297, allocations: 42.5 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.1298, allocations: 109.9 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1298, allocations: 4 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001477/0.1299, allocations: 127.2 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.13, allocations: 33.7 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.13, allocations: 64 / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.13, allocations: 8 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.312e-05/0.13, allocations: 3.938 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.13, allocations: 4 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.1301, allocations: 11.92 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1301, allocations: 8.062 kB / 0.592 GB, free: 14.15 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 9.227e-05/0.1302, allocations: 151.5 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1302, allocations: 11.89 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.1303, allocations: 8.375 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1303, allocations: 4 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1303, allocations: 0 / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1303, allocations: 0 / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1306, allocations: 400.1 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1306, allocations: 4 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.1307, allocations: 3.938 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1307, allocations: 0 / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1307, allocations: 7.984 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1307, allocations: 0 / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1307, allocations: 3.938 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1309, allocations: 233.1 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1309, allocations: 81.02 kB / 0.5929 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1309, allocations: 8 kB / 0.5929 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.131, allocations: 11.98 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1311, allocations: 15.92 kB / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1311, allocations: 4 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.1312, allocations: 87.91 kB / 0.593 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1312, allocations: 3.938 kB / 0.593 GB, free: 13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002156/0.1314, allocations: 16 kB / 0.593 GB, free: 12.99 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: 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.0004121/0.1318, allocations: 0.763 MB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1319, allocations: 115.6 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.132, allocations: 0 / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.132, allocations: 87.33 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1323, allocations: 24.05 kB / 0.594 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1334, allocations: 1.442 MB / 0.5954 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1336, allocations: 0.6809 MB / 0.5961 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.1336, allocations: 11.98 kB / 0.5961 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.1337, allocations: 15.44 kB / 0.5961 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1337, allocations: 0 / 0.5961 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6017/0.7354, allocations: 1.587 MB / 0.5976 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.7357, allocations: 193 kB / 0.5978 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.636, allocations: 3 kB / 0.5978 GB, free: 7.965 MB / 0.4981 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)