Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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: translateModel(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 107 kB / 17.03 MB, free: 5.699 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.001102/0.001102, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7163/0.7163, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001641/0.3534, allocations: 0.5304 MB / 0.5581 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005429/0.3539, allocations: 323.1 kB / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.354, allocations: 1.188 kB / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.045e-05/0.354, allocations: 0 / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.622e-05/0.354, allocations: 5.375 kB / 0.5584 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3544, allocations: 101.5 kB / 0.5585 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.3545, allocations: 11.88 kB / 0.5585 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.3545, allocations: 1.938 kB / 0.5585 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.3546, allocations: 3.891 kB / 0.5585 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.3546, allocations: 12.67 kB / 0.5585 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3546, allocations: 1.312 kB / 0.5585 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.3549, allocations: 185.4 kB / 0.5587 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3549, allocations: 2.234 kB / 0.5587 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.355, allocations: 16.91 kB / 0.5587 GB, free: 36.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3552, allocations: 74.47 kB / 0.5588 GB, free: 36.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3552, allocations: 2.781 kB / 0.5588 GB, free: 36.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3552, allocations: 0 / 0.5588 GB, free: 36.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3552, allocations: 0.8438 kB / 0.5588 GB, free: 36.01 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003189/0.3555, allocations: 332.7 kB / 0.5591 GB, free: 35.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3556, allocations: 9.969 kB / 0.5591 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3556, allocations: 2.781 kB / 0.5591 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.3557, allocations: 167.1 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3557, allocations: 2.781 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3558, allocations: 1.812 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.3559, allocations: 38.45 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3559, allocations: 1.719 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3559, allocations: 7.875 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3559, allocations: 1.094 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.3559, allocations: 6.094 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.3561, allocations: 156.1 kB / 0.5595 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.3561, allocations: 22.47 kB / 0.5595 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.3561, allocations: 7.016 kB / 0.5595 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.3566, allocations: 0.5788 MB / 0.5601 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3567, allocations: 32.66 kB / 0.5601 GB, free: 34.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3567, allocations: 0 / 0.5601 GB, free: 34.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004542/0.3571, allocations: 271.4 kB / 0.5604 GB, free: 34.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.3572, allocations: 53.47 kB / 0.5604 GB, free: 34.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.3572, allocations: 96.7 kB / 0.5605 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.3572, allocations: 31.59 kB / 0.5605 GB, free: 34.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.3573, allocations: 82.58 kB / 0.5606 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3573, allocations: 10.42 kB / 0.5606 GB, free: 33.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.3573, allocations: 19.3 kB / 0.5607 GB, free: 33.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.3574, allocations: 313.4 kB / 0.5609 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.3574, allocations: 8.922 kB / 0.561 GB, free: 33.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.3575, allocations: 16.61 kB / 0.561 GB, free: 33.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.3575, allocations: 26.72 kB / 0.561 GB, free: 33.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3575, allocations: 0 / 0.561 GB, free: 33.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.729e-05/0.3576, allocations: 52.61 kB / 0.561 GB, free: 33.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3576, allocations: 10.22 kB / 0.5611 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3576, allocations: 1.812 kB / 0.5611 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3576, allocations: 0.75 kB / 0.5611 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.3577, allocations: 9.156 kB / 0.5611 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3577, allocations: 1.062 kB / 0.5611 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.3577, allocations: 4.516 kB / 0.5611 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3577, allocations: 6.031 kB / 0.5611 GB, free: 33.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 4.65e-05/0.3578, allocations: 108.7 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.3578, allocations: 12.02 kB / 0.5612 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3579, allocations: 51.64 kB / 0.5612 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3579, allocations: 1.844 kB / 0.5612 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.358, allocations: 3.938 kB / 0.5613 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.358, allocations: 0.6094 kB / 0.5613 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.14e-05/0.358, allocations: 155.4 kB / 0.5614 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.358, allocations: 0 / 0.5614 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.3581, allocations: 6.344 kB / 0.5614 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3581, allocations: 5.938 kB / 0.5614 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.3581, allocations: 1.094 kB / 0.5614 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3581, allocations: 10.19 kB / 0.5614 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3581, allocations: 0 / 0.5614 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.3583, allocations: 81.84 kB / 0.5615 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3583, allocations: 78.78 kB / 0.5616 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3583, allocations: 5.812 kB / 0.5616 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.3583, allocations: 5.922 kB / 0.5616 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.3584, allocations: 2.891 kB / 0.5616 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3584, allocations: 1.469 kB / 0.5616 GB, free: 32.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.3584, allocations: 81.53 kB / 0.5617 GB, free: 32.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 0 / 0.5617 GB, free: 32.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.3586, allocations: 27.3 kB / 0.5617 GB, free: 32.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001875/0.3588, allocations: 129.5 kB / 0.5618 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.3589, allocations: 19.92 kB / 0.5618 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.359, allocations: 0 / 0.5618 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.359, allocations: 11.34 kB / 0.5618 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3591, allocations: 1.25 kB / 0.5618 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.3594, allocations: 120.2 kB / 0.562 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3595, allocations: 0.6759 MB / 0.5626 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.3595, allocations: 4.016 kB / 0.5626 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.3595, allocations: 14.58 kB / 0.5626 GB, free: 31.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3595, allocations: 1.062 kB / 0.5626 GB, free: 31.95 MB / 446.1 MB Notification: Performance of Templates: time 0.003874/0.3634, allocations: 1.2 MB / 0.5638 GB, free: 31.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)