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.001265/0.001265, 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.001723/0.001723, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9393/0.9393, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 60.53 kB / 0.5049 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1697, allocations: 80.93 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00264/0.1723, allocations: 1.484 MB / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007101/0.1731, allocations: 427 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.1731, allocations: 0 / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.1732, allocations: 0 / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.1732, allocations: 7.938 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.1734, allocations: 19.98 kB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1735, allocations: 55.78 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.1736, allocations: 7.984 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.1737, allocations: 23.81 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.1737, allocations: 19.91 kB / 0.586 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1737, allocations: 8 kB / 0.586 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.1738, allocations: 4 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.1738, allocations: 8 kB / 0.586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.1738, allocations: 23.86 kB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.174, allocations: 40.16 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.174, allocations: 0 / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.174, allocations: 0 / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.174, allocations: 0 / 0.586 GB, free: 2.68 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.0005745/0.1746, allocations: 401 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1746, allocations: 8.031 kB / 0.5864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.1747, allocations: 34.75 kB / 0.5865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1747, allocations: 4.875 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1748, allocations: 176.2 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1749, allocations: 8.375 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1749, allocations: 384 / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.175, allocations: 49.81 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.175, allocations: 0 / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.175, allocations: 12 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.175, allocations: 0 / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.775e-05/0.1751, allocations: 15.98 kB / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1755, allocations: 276.7 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.113e-05/0.1756, allocations: 46.55 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.1756, allocations: 20.98 kB / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1757, allocations: 4 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1759, allocations: 105 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.604e-06/0.1759, allocations: 0 / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002684/0.1761, allocations: 135.3 kB / 0.5873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1762, allocations: 85.11 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.1763, allocations: 109.8 kB / 0.5875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1763, allocations: 25.98 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1764, allocations: 96.2 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1764, allocations: 23.7 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.1764, allocations: 25.66 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.1766, allocations: 322.8 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.1766, allocations: 12 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.1766, allocations: 41.08 kB / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1767, allocations: 117.9 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1768, allocations: 0 / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001528/0.1769, allocations: 123.3 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.177, allocations: 33.7 kB / 0.5883 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.177, allocations: 4 kB / 0.5883 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.177, allocations: 0 / 0.5883 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.177, allocations: 7.984 kB / 0.5883 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.177, allocations: 0 / 0.5883 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.1771, allocations: 15.91 kB / 0.5883 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1771, allocations: 4 kB / 0.5883 GB, free: 88 kB / 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 0.0001156/0.1772, allocations: 155.4 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.1773, allocations: 4 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.1773, allocations: 8.375 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1773, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1773, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1773, allocations: 4 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.1777, allocations: 404 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1777, allocations: 7.922 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.1778, allocations: 4 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1778, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1778, allocations: 4 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1778, allocations: 4 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1778, allocations: 3.938 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.178, allocations: 225.2 kB / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.178, allocations: 85.11 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1781, allocations: 7.938 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1782, allocations: 11.98 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1782, allocations: 11.92 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1783, allocations: 7.984 kB / 0.5892 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.1783, allocations: 83.83 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1783, allocations: 0 / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002438/0.1786, allocations: 19.98 kB / 0.5893 GB, free: 14.93 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.0004465/0.179, allocations: 0.763 MB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1792, allocations: 119.6 kB / 0.5901 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1792, allocations: 0 / 0.5901 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.1793, allocations: 95.38 kB / 0.5902 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1796, allocations: 20.06 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1808, allocations: 1.436 MB / 0.5917 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1811, allocations: 0.6923 MB / 0.5923 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.1811, allocations: 4 kB / 0.5923 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1812, allocations: 15.42 kB / 0.5924 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1812, allocations: 0 / 0.5924 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08613/0.2673, allocations: 1.733 MB / 0.594 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.2675, allocations: 195.9 kB / 0.5942 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.949, allocations: 0 / 0.5942 GB, free: 9.75 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)