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.0009769/0.0009771, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.000933/0.0009331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8026/0.8026, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 12.22 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.52, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001424/0.5215, allocations: 1.137 MB / 0.5842 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005987/0.5221, allocations: 406.6 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.5222, allocations: 0 / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.5222, allocations: 6.25 kB / 0.5846 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.5223, allocations: 13.98 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.5224, allocations: 19.16 kB / 0.5847 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.5225, allocations: 43.67 kB / 0.5847 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.468e-05/0.5226, allocations: 8.359 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.5227, allocations: 30.2 kB / 0.5848 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.5228, allocations: 14.16 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.5228, allocations: 1.875 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.5228, allocations: 2.375 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.5228, allocations: 7.297 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.5229, allocations: 37.7 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.177e-05/0.523, allocations: 25.12 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.523, allocations: 0.6875 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.523, allocations: 0 / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.523, allocations: 0.7188 kB / 0.5848 GB, free: 2.746 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.0004983/0.5235, allocations: 389.6 kB / 0.5852 GB, free: 2.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5235, allocations: 12.62 kB / 0.5852 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.5236, allocations: 37.78 kB / 0.5853 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.5236, allocations: 2.531 kB / 0.5853 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.5237, allocations: 172 kB / 0.5854 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5237, allocations: 2.438 kB / 0.5854 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5237, allocations: 3.781 kB / 0.5854 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.5239, allocations: 49.67 kB / 0.5855 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5239, allocations: 5.438 kB / 0.5855 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.5239, allocations: 0.5625 kB / 0.5855 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5239, allocations: 0.9375 kB / 0.5855 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.524, allocations: 23.95 kB / 0.5855 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.5243, allocations: 274.1 kB / 0.5858 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.736e-05/0.5244, allocations: 40.61 kB / 0.5858 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.5245, allocations: 22.45 kB / 0.5858 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.5245, allocations: 1.688 kB / 0.5858 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.5247, allocations: 104.7 kB / 0.5859 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.5247, allocations: 0 / 0.5859 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002618/0.5249, allocations: 143.3 kB / 0.5861 GB, free: 1.527 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.525, allocations: 83.84 kB / 0.5861 GB, free: 1.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.525, allocations: 111.9 kB / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.5251, allocations: 28.23 kB / 0.5863 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.5251, allocations: 89.98 kB / 0.5864 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.5251, allocations: 20.55 kB / 0.5864 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5251, allocations: 4.75 kB / 0.5864 GB, free: 1.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.5252, allocations: 322.8 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.5252, allocations: 14.38 kB / 0.5867 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.5253, allocations: 37.25 kB / 0.5867 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.5253, allocations: 50.31 kB / 0.5868 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5254, allocations: 0 / 0.5868 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001515/0.5255, allocations: 125 kB / 0.5869 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.5255, allocations: 33.14 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5256, allocations: 2.609 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5256, allocations: 1.938 kB / 0.587 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.5256, allocations: 2.422 kB / 0.587 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5256, allocations: 6.25 kB / 0.587 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.5257, allocations: 12.73 kB / 0.587 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5257, allocations: 2.812 kB / 0.587 GB, free: 0.6562 MB / 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.5258, allocations: 159 kB / 0.5871 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.5258, allocations: 8.547 kB / 0.5871 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.5259, allocations: 10.75 kB / 0.5871 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5259, allocations: 0.7188 kB / 0.5871 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5259, allocations: 0 / 0.5871 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5259, allocations: 5.688 kB / 0.5871 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.5262, allocations: 396 kB / 0.5875 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5262, allocations: 0.9375 kB / 0.5875 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-06/0.5263, allocations: 8.688 kB / 0.5875 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5263, allocations: 1.219 kB / 0.5875 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5263, allocations: 2.75 kB / 0.5875 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5263, allocations: 8.719 kB / 0.5875 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5263, allocations: 1.547 kB / 0.5876 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.5265, allocations: 235.4 kB / 0.5878 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.5266, allocations: 79.78 kB / 0.5879 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.5266, allocations: 10.84 kB / 0.5879 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.5267, allocations: 14.62 kB / 0.5879 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.5268, allocations: 10.3 kB / 0.5879 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5268, allocations: 3.266 kB / 0.5879 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.5269, allocations: 88.31 kB / 0.588 GB, free: 15.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5269, allocations: 3.938 kB / 0.588 GB, free: 15.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.5271, allocations: 17.62 kB / 0.588 GB, free: 15.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000506/0.5276, allocations: 0.7628 MB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5278, allocations: 113.9 kB / 0.5888 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5278, allocations: 0 / 0.5888 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.5279, allocations: 87.86 kB / 0.5889 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.5282, allocations: 19.39 kB / 0.5889 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.529, allocations: 493 kB / 0.5894 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5293, allocations: 0.689 MB / 0.5901 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.5293, allocations: 4.719 kB / 0.5901 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.5294, allocations: 20.73 kB / 0.5901 GB, free: 13.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5294, allocations: 0 / 0.5901 GB, free: 13.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.5412, allocations: 1.584 MB / 0.5917 GB, free: 13.53 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.5414, allocations: 181.1 kB / 0.5918 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.267, allocations: 1.219 kB / 0.5918 GB, free: 13.29 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/linux/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) Environment - environmentSimulation: