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.0009305/0.0009305, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.9 kB / 16.92 MB, free: 6.934 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6877/0.6877, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 8.625 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006017/0.2233, allocations: 268.8 kB / 0.5602 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.2239, allocations: 335.1 kB / 0.5605 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.2239, allocations: 4 kB / 0.5605 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.224, allocations: 0 / 0.5605 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.197e-05/0.224, allocations: 0 / 0.5605 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.2243, allocations: 67.83 kB / 0.5606 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.175e-05/0.2244, allocations: 11.94 kB / 0.5606 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.2244, allocations: 4 kB / 0.5606 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.2245, allocations: 3.984 kB / 0.5606 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.2245, allocations: 7.938 kB / 0.5606 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2245, allocations: 0 / 0.5606 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.2248, allocations: 191.8 kB / 0.5608 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.2249, allocations: 4 kB / 0.5608 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.2249, allocations: 33.62 kB / 0.5609 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2251, allocations: 79.86 kB / 0.5609 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2251, allocations: 0 / 0.5609 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.2251, allocations: 4 kB / 0.5609 GB, free: 8.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.2251, allocations: 0 / 0.5609 GB, free: 8.008 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003016/0.2254, allocations: 330 kB / 0.5612 GB, free: 7.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2254, allocations: 8.031 kB / 0.5613 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.2255, allocations: 0.9375 kB / 0.5613 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2256, allocations: 168.5 kB / 0.5614 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.2256, allocations: 8.375 kB / 0.5614 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2257, allocations: 4.375 kB / 0.5614 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.2258, allocations: 38.19 kB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.2258, allocations: 192 / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2258, allocations: 3.938 kB / 0.5615 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2258, allocations: 0 / 0.5615 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.2258, allocations: 7.938 kB / 0.5615 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.226, allocations: 153.7 kB / 0.5616 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.2261, allocations: 22.61 kB / 0.5616 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.2261, allocations: 12.92 kB / 0.5617 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.2267, allocations: 0.5778 MB / 0.5622 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2267, allocations: 38.55 kB / 0.5623 GB, free: 6.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2267, allocations: 0 / 0.5623 GB, free: 6.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005032/0.2272, allocations: 258.2 kB / 0.5625 GB, free: 6.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2273, allocations: 55.34 kB / 0.5626 GB, free: 5.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.2274, allocations: 98.08 kB / 0.5626 GB, free: 5.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2274, allocations: 33.7 kB / 0.5627 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2274, allocations: 80.14 kB / 0.5628 GB, free: 5.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2275, allocations: 3.906 kB / 0.5628 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.2275, allocations: 17.7 kB / 0.5628 GB, free: 5.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2276, allocations: 314.8 kB / 0.5631 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.2276, allocations: 4 kB / 0.5631 GB, free: 5.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.2277, allocations: 21.7 kB / 0.5631 GB, free: 5.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.2277, allocations: 25.72 kB / 0.5631 GB, free: 5.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2277, allocations: 0 / 0.5631 GB, free: 5.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.133e-05/0.2278, allocations: 49.64 kB / 0.5632 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2278, allocations: 15.92 kB / 0.5632 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2278, allocations: 0 / 0.5632 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2279, allocations: 0 / 0.5632 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.2279, allocations: 8 kB / 0.5632 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.2279, allocations: 0 / 0.5632 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.2279, allocations: 4.062 kB / 0.5632 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.228, allocations: 3.938 kB / 0.5632 GB, free: 5.27 MB / 430.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 6.913e-05/0.228, allocations: 117.8 kB / 0.5633 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.228, allocations: 7.844 kB / 0.5633 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.2282, allocations: 57.5 kB / 0.5634 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2282, allocations: 0 / 0.5634 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2282, allocations: 0 / 0.5634 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2282, allocations: 4.031 kB / 0.5634 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2283, allocations: 161.7 kB / 0.5635 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2283, allocations: 0 / 0.5635 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.2284, allocations: 8 kB / 0.5635 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2284, allocations: 3.938 kB / 0.5635 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.2284, allocations: 4 kB / 0.5636 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2284, allocations: 0 / 0.5636 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2284, allocations: 3.938 kB / 0.5636 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.2285, allocations: 77.11 kB / 0.5636 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.2285, allocations: 81.14 kB / 0.5637 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2286, allocations: 8 kB / 0.5637 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.257e-05/0.2286, allocations: 0 / 0.5637 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.2286, allocations: 4 kB / 0.5637 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2286, allocations: 4 kB / 0.5637 GB, free: 4.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.2287, allocations: 79.27 kB / 0.5638 GB, free: 4.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2287, allocations: 0 / 0.5638 GB, free: 4.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.2289, allocations: 28 kB / 0.5638 GB, free: 4.531 MB / 430.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.0001911/0.2291, allocations: 127.2 kB / 0.5639 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.202e-05/0.2292, allocations: 19.94 kB / 0.564 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2292, allocations: 0 / 0.564 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.2292, allocations: 11.98 kB / 0.564 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.2294, allocations: 4 kB / 0.564 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.2296, allocations: 124.5 kB / 0.5641 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2299, allocations: 0.6731 MB / 0.5648 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.774e-05/0.2299, allocations: 12.11 kB / 0.5648 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.2299, allocations: 7.438 kB / 0.5648 GB, free: 3.492 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2299, allocations: 0 / 0.5648 GB, free: 3.492 MB / 430.1 MB Notification: Performance of Templates: time 0.003453/0.2334, allocations: 1.195 MB / 0.5659 GB, free: 2.32 MB / 430.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)