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.0009373/0.0009371, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005554/0.005554, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7654/0.7654, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004865, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4179, allocations: 81.57 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001441/0.4194, allocations: 1.149 MB / 0.5849 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.42, allocations: 426.3 kB / 0.5853 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.4201, allocations: 4 kB / 0.5853 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.4201, allocations: 4.734 kB / 0.5853 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.4202, allocations: 7.141 kB / 0.5853 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.4203, allocations: 18.03 kB / 0.5853 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.4204, allocations: 49.42 kB / 0.5853 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.854e-05/0.4205, allocations: 4.781 kB / 0.5853 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.4206, allocations: 21.98 kB / 0.5854 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.4206, allocations: 22.08 kB / 0.5854 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4207, allocations: 1.594 kB / 0.5854 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.4207, allocations: 6.625 kB / 0.5854 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.4207, allocations: 3.422 kB / 0.5854 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.4208, allocations: 46.02 kB / 0.5854 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.522e-05/0.4208, allocations: 41.81 kB / 0.5855 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4209, allocations: 1.656 kB / 0.5855 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4209, allocations: 0 / 0.5855 GB, free: 2.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.4209, allocations: 0 / 0.5855 GB, free: 2.625 MB / 430.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.0004728/0.4214, allocations: 396.3 kB / 0.5859 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4214, allocations: 9.562 kB / 0.5859 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.4214, allocations: 33.69 kB / 0.5859 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.4215, allocations: 4.203 kB / 0.5859 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.4216, allocations: 173.1 kB / 0.5861 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4216, allocations: 2.406 kB / 0.5861 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4216, allocations: 8 kB / 0.5861 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4217, allocations: 58.86 kB / 0.5861 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4217, allocations: 0.6875 kB / 0.5861 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4218, allocations: 4.812 kB / 0.5861 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4218, allocations: 1.25 kB / 0.5861 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.708e-05/0.4218, allocations: 16.08 kB / 0.5862 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.4222, allocations: 277.7 kB / 0.5864 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.4223, allocations: 47.69 kB / 0.5865 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.4223, allocations: 19.83 kB / 0.5865 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4223, allocations: 9.203 kB / 0.5865 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4225, allocations: 104.9 kB / 0.5866 GB, free: 1.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.4225, allocations: 0 / 0.5866 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002539/0.4228, allocations: 143.9 kB / 0.5867 GB, free: 1.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.4228, allocations: 81.39 kB / 0.5868 GB, free: 1.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.4229, allocations: 108.1 kB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.4229, allocations: 30.98 kB / 0.5869 GB, free: 1.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.4229, allocations: 85.75 kB / 0.587 GB, free: 1.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.423, allocations: 16.86 kB / 0.587 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.423, allocations: 20.12 kB / 0.5871 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.423, allocations: 322.2 kB / 0.5874 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.4231, allocations: 14.95 kB / 0.5874 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.4231, allocations: 36.88 kB / 0.5874 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.4232, allocations: 119.8 kB / 0.5875 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4232, allocations: 0 / 0.5875 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001647/0.4234, allocations: 122.7 kB / 0.5877 GB, free: 496 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.4234, allocations: 33.44 kB / 0.5877 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4235, allocations: 0.6562 kB / 0.5877 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4235, allocations: 1.281 kB / 0.5877 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.4235, allocations: 8 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4235, allocations: 2.312 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.4236, allocations: 17.08 kB / 0.5877 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4236, allocations: 2.938 kB / 0.5877 GB, free: 452 kB / 430.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 7.278e-05/0.4237, allocations: 148.7 kB / 0.5879 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.4237, allocations: 9.141 kB / 0.5879 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.4238, allocations: 9.562 kB / 0.5879 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4238, allocations: 5.141 kB / 0.5879 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4238, allocations: 1.438 kB / 0.5879 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4238, allocations: 0.7031 kB / 0.5879 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.4242, allocations: 411.4 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4242, allocations: 1.359 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.4242, allocations: 0.9688 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4242, allocations: 1.5 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4242, allocations: 6.156 kB / 0.5883 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4242, allocations: 1.438 kB / 0.5883 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4242, allocations: 3.938 kB / 0.5883 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.4245, allocations: 237.3 kB / 0.5885 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.4245, allocations: 83.14 kB / 0.5886 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4245, allocations: 3.297 kB / 0.5886 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4246, allocations: 10.22 kB / 0.5886 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.4247, allocations: 14.34 kB / 0.5886 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.4247, allocations: 7.922 kB / 0.5886 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.509e-05/0.4248, allocations: 84.16 kB / 0.5887 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4248, allocations: 0 / 0.5887 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.425, allocations: 21.44 kB / 0.5887 GB, free: 15.49 MB / 446.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.000482/0.4255, allocations: 0.7554 MB / 0.5895 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4257, allocations: 118.8 kB / 0.5896 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4257, allocations: 0 / 0.5896 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.4258, allocations: 97.88 kB / 0.5897 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4261, allocations: 22.53 kB / 0.5897 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.4275, allocations: 1.415 MB / 0.5911 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.4277, allocations: 0.6903 MB / 0.5918 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.4278, allocations: 4.219 kB / 0.5918 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.4278, allocations: 20.08 kB / 0.5918 GB, free: 12.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4278, allocations: 0 / 0.5918 GB, free: 12.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8521/1.28, allocations: 1.585 MB / 0.5933 GB, free: 12.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.28, allocations: 188.2 kB / 0.5935 GB, free: 12.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.919, allocations: 4 kB / 0.5935 GB, free: 12.14 MB / 446.1 MB (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)