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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5728/0.5728, allocations: 92 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 223.2 MB / 354.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008992, allocations: 100.3 kB / 427.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.00031, allocations: 15.98 kB / 0.4983 GB, free: 42.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 72.31 MB / 0.5689 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.6087, allocations: 101.3 MB / 0.6678 GB, free: 3.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.609, allocations: 75.95 kB / 0.6679 GB, free: 3.203 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006415/0.6154, allocations: 1.833 MB / 0.6697 GB, free: 1.387 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6155, allocations: 0 / 0.6697 GB, free: 1.387 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.6155, allocations: 0 / 0.6697 GB, free: 1.387 MB / 458.7 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.0003107/0.6158, allocations: 351.8 kB / 0.67 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6158, allocations: 8.031 kB / 0.67 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.6159, allocations: 3.953 kB / 0.67 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.616, allocations: 171 kB / 0.6702 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.616, allocations: 0 / 0.6702 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6161, allocations: 4 kB / 0.6702 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.6162, allocations: 37.69 kB / 0.6702 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.6162, allocations: 0 / 0.6702 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6162, allocations: 0 / 0.6702 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6162, allocations: 0 / 0.6702 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.6162, allocations: 7.953 kB / 0.6702 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.6164, allocations: 153.7 kB / 0.6704 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/0.6165, allocations: 26.55 kB / 0.6704 GB, free: 500 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/0.6171, allocations: 0.5817 MB / 0.671 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.6171, allocations: 34.56 kB / 0.671 GB, free: 15.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.574e-06/0.6171, allocations: 3.984 kB / 0.671 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005013/0.6176, allocations: 254.3 kB / 0.6712 GB, free: 15.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6176, allocations: 51.41 kB / 0.6713 GB, free: 15.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.528e-05/0.6177, allocations: 92.98 kB / 0.6714 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.6177, allocations: 25.7 kB / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.6178, allocations: 80.14 kB / 0.6715 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.6178, allocations: 11.91 kB / 0.6715 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.6178, allocations: 4.156 kB / 0.6715 GB, free: 15.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6179, allocations: 318.8 kB / 0.6718 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.6179, allocations: 8 kB / 0.6718 GB, free: 14.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.618, allocations: 17.7 kB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.225e-05/0.618, allocations: 8 kB / 0.6718 GB, free: 14.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.618, allocations: 0 / 0.6718 GB, free: 14.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.82e-05/0.6181, allocations: 57.53 kB / 0.6719 GB, free: 14.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6181, allocations: 12.06 kB / 0.6719 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.6181, allocations: 0 / 0.6719 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6182, allocations: 0 / 0.6719 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.6182, allocations: 8 kB / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6182, allocations: 0 / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.6183, allocations: 3.938 kB / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.6183, allocations: 0 / 0.6719 GB, free: 14.7 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.6183, allocations: 117.8 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.6184, allocations: 3.984 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.6185, allocations: 57.19 kB / 0.6721 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6185, allocations: 0 / 0.6721 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6185, allocations: 0 / 0.6721 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6185, allocations: 0 / 0.6721 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.6186, allocations: 157.6 kB / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6186, allocations: 0 / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.6187, allocations: 4 kB / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6187, allocations: 3.438 kB / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.6187, allocations: 4 kB / 0.6722 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6187, allocations: 7.922 kB / 0.6723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6187, allocations: 4 kB / 0.6723 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.6189, allocations: 77.08 kB / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.6189, allocations: 81.02 kB / 0.6724 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.6189, allocations: 4.031 kB / 0.6724 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.619, allocations: 0 / 0.6724 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.619, allocations: 3.984 kB / 0.6724 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.619, allocations: 4 kB / 0.6724 GB, free: 14.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.6191, allocations: 87.7 kB / 0.6725 GB, free: 13.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6191, allocations: 0 / 0.6725 GB, free: 13.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000237/0.6193, allocations: 35.94 kB / 0.6725 GB, free: 13.96 MB / 474.7 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 (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.0002281/0.6196, allocations: 139.1 kB / 0.6727 GB, free: 13.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.6197, allocations: 24.06 kB / 0.6727 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6197, allocations: 0 / 0.6727 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.6197, allocations: 11.98 kB / 0.6727 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.6198, allocations: 4.078 kB / 0.6727 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.6201, allocations: 117.4 kB / 0.6728 GB, free: 13.63 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.6204, allocations: 0.6809 MB / 0.6735 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.6204, allocations: 0.9375 kB / 0.6735 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.6204, allocations: 15.38 kB / 0.6735 GB, free: 12.91 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6204, allocations: 0 / 0.6735 GB, free: 12.91 MB / 474.7 MB Notification: Performance of Templates: time 0.003269/0.6237, allocations: 1.047 MB / 0.6745 GB, free: 11.87 MB / 474.7 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)