Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_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.001192/0.001192, allocations: 106.8 kB / 15.98 MB, free: 6.316 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.001156/0.001156, allocations: 187.1 kB / 16.9 MB, free: 6.168 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.205/1.205, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.645/0.645, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2777, allocations: 76.17 MB / 0.556 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001937/0.2797, allocations: 1.473 MB / 0.5574 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004742/0.2802, allocations: 434.1 kB / 0.5579 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.2802, allocations: 1.281 kB / 0.5579 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.2803, allocations: 4.469 kB / 0.5579 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.2803, allocations: 12.67 kB / 0.5579 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.2805, allocations: 14.81 kB / 0.5579 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.2806, allocations: 55.36 kB / 0.5579 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.2806, allocations: 5.438 kB / 0.5579 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.2807, allocations: 29.16 kB / 0.558 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.2807, allocations: 20.92 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2808, allocations: 3.969 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.2808, allocations: 4.125 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.2808, allocations: 7.156 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.2808, allocations: 19.86 kB / 0.558 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.386e-05/0.2809, allocations: 41.28 kB / 0.5581 GB, free: 34.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2809, allocations: 2.031 kB / 0.5581 GB, free: 34.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2809, allocations: 0 / 0.5581 GB, free: 34.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2809, allocations: 0 / 0.5581 GB, free: 34.83 MB / 446.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.0004156/0.2814, allocations: 395.5 kB / 0.5584 GB, free: 34.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2814, allocations: 9.406 kB / 0.5585 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.2814, allocations: 40.23 kB / 0.5585 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2815, allocations: 8.594 kB / 0.5585 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.59e-05/0.2815, allocations: 167.4 kB / 0.5587 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.2815, allocations: 6.953 kB / 0.5587 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.2816, allocations: 4.281 kB / 0.5587 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.2816, allocations: 56.39 kB / 0.5587 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.2817, allocations: 0 / 0.5587 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2817, allocations: 0.7031 kB / 0.5587 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2817, allocations: 2.719 kB / 0.5587 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.2817, allocations: 16.62 kB / 0.5587 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.282, allocations: 279.3 kB / 0.559 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.2821, allocations: 41.36 kB / 0.559 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.2821, allocations: 18.33 kB / 0.5591 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2821, allocations: 8.469 kB / 0.5591 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.2823, allocations: 109.8 kB / 0.5592 GB, free: 33.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.2823, allocations: 3.047 kB / 0.5592 GB, free: 33.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002141/0.2825, allocations: 141.4 kB / 0.5593 GB, free: 33.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2825, allocations: 80.11 kB / 0.5594 GB, free: 33.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.2826, allocations: 114.1 kB / 0.5595 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.2826, allocations: 27.14 kB / 0.5595 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.2826, allocations: 86.67 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2826, allocations: 12.31 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.2827, allocations: 28.55 kB / 0.5596 GB, free: 33.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.267e-05/0.2827, allocations: 319.6 kB / 0.56 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.2827, allocations: 19.12 kB / 0.56 GB, free: 32.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.2828, allocations: 40.05 kB / 0.56 GB, free: 32.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.2829, allocations: 116.4 kB / 0.5601 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2829, allocations: 1.094 kB / 0.5601 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001188/0.283, allocations: 129.4 kB / 0.5602 GB, free: 32.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.283, allocations: 34.17 kB / 0.5603 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.283, allocations: 0 / 0.5603 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.283, allocations: 1.25 kB / 0.5603 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.2831, allocations: 7.406 kB / 0.5603 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2831, allocations: 1.156 kB / 0.5603 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.2832, allocations: 13.62 kB / 0.5603 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2832, allocations: 7.625 kB / 0.5603 GB, free: 32.66 MB / 446.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 5.842e-05/0.2832, allocations: 149.4 kB / 0.5605 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.2832, allocations: 8.938 kB / 0.5605 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.2833, allocations: 10.61 kB / 0.5605 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2833, allocations: 2.406 kB / 0.5605 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2833, allocations: 1.078 kB / 0.5605 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2833, allocations: 0 / 0.5605 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.2836, allocations: 406.8 kB / 0.5609 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2836, allocations: 0.75 kB / 0.5609 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.2836, allocations: 5 kB / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2836, allocations: 1.594 kB / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2836, allocations: 8.344 kB / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2836, allocations: 0 / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2836, allocations: 8.812 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2838, allocations: 229.1 kB / 0.5611 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.2838, allocations: 82.14 kB / 0.5612 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2838, allocations: 2.5 kB / 0.5612 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.2839, allocations: 8.766 kB / 0.5612 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.284, allocations: 13.88 kB / 0.5612 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.284, allocations: 6.875 kB / 0.5612 GB, free: 31.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.423e-05/0.284, allocations: 82.5 kB / 0.5613 GB, free: 31.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.284, allocations: 3.938 kB / 0.5613 GB, free: 31.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.2842, allocations: 22.69 kB / 0.5613 GB, free: 31.74 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.0002661/0.2845, allocations: 0.7574 MB / 0.5621 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2846, allocations: 121.8 kB / 0.5622 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2846, allocations: 0.625 kB / 0.5622 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.2847, allocations: 90.08 kB / 0.5623 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.285, allocations: 19.05 kB / 0.5623 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.2858, allocations: 1.43 MB / 0.5637 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.284e-05/0.2859, allocations: 0.6889 MB / 0.5643 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.2859, allocations: 5.484 kB / 0.5644 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.286, allocations: 20.67 kB / 0.5644 GB, free: 28.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.286, allocations: 0.5312 kB / 0.5644 GB, free: 28.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/2.145, allocations: 1.731 MB / 0.5661 GB, free: 28.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/2.145, allocations: 193.6 kB / 0.5662 GB, free: 28.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/3.706, allocations: 2.875 kB / 0.5662 GB, free: 28.35 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)