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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001616, allocations: 182.3 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5526/0.5526, allocations: 91.98 MB / 108.5 MB, free: 13.11 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.676/1.676, allocations: 223.1 MB / 354.3 MB, free: 10.48 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.0009099/0.0009099, allocations: 92.28 kB / 427.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003671, allocations: 11.98 kB / 0.4983 GB, free: 41.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 72.31 MB / 0.5689 GB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/0.6829, allocations: 101.3 MB / 0.6679 GB, free: 3.074 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.6833, allocations: 83.94 kB / 0.6679 GB, free: 2.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006614/0.6899, allocations: 1.824 MB / 0.6697 GB, free: 1.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6899, allocations: 7.938 kB / 0.6697 GB, free: 1.172 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.69, allocations: 0 / 0.6697 GB, free: 1.172 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.0003491/0.6903, allocations: 355.9 kB / 0.6701 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6904, allocations: 8.031 kB / 0.6701 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.6904, allocations: 37.31 kB / 0.6701 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.6905, allocations: 7.953 kB / 0.6701 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6906, allocations: 163 kB / 0.6703 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.6906, allocations: 0 / 0.6703 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.6906, allocations: 0 / 0.6703 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.6907, allocations: 41.69 kB / 0.6703 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6908, allocations: 7.984 kB / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.6908, allocations: 0 / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6908, allocations: 0 / 0.6703 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.6908, allocations: 3.953 kB / 0.6703 GB, free: 472 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.691, allocations: 153.7 kB / 0.6705 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.6911, allocations: 26.61 kB / 0.6705 GB, free: 232 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.6916, allocations: 0.5817 MB / 0.6711 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.6917, allocations: 30.56 kB / 0.6711 GB, free: 15.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.6917, allocations: 0 / 0.6711 GB, free: 15.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006704/0.6924, allocations: 254.5 kB / 0.6713 GB, free: 15.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.6924, allocations: 51.41 kB / 0.6714 GB, free: 15.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.6925, allocations: 96.92 kB / 0.6715 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6925, allocations: 25.7 kB / 0.6715 GB, free: 14.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.6926, allocations: 84.14 kB / 0.6716 GB, free: 14.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.6926, allocations: 7.906 kB / 0.6716 GB, free: 14.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.6927, allocations: 3.938 kB / 0.6716 GB, free: 14.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6928, allocations: 318.8 kB / 0.6719 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.6929, allocations: 11.98 kB / 0.6719 GB, free: 14.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.6929, allocations: 13.72 kB / 0.6719 GB, free: 14.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.6929, allocations: 15.94 kB / 0.6719 GB, free: 14.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.693, allocations: 0 / 0.6719 GB, free: 14.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.6931, allocations: 53.59 kB / 0.672 GB, free: 14.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6931, allocations: 5.25 kB / 0.672 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6931, allocations: 4.062 kB / 0.672 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6931, allocations: 0 / 0.672 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.6932, allocations: 11.94 kB / 0.672 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6932, allocations: 0 / 0.672 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.6933, allocations: 0 / 0.672 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.6933, allocations: 4 kB / 0.672 GB, free: 14.43 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 0.0001017/0.6934, allocations: 113.8 kB / 0.6721 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.6934, allocations: 7.984 kB / 0.6721 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.6936, allocations: 53.19 kB / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6936, allocations: 0 / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6937, allocations: 0 / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6937, allocations: 0 / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.6938, allocations: 157.6 kB / 0.6723 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6938, allocations: 4 kB / 0.6723 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.6939, allocations: 11.94 kB / 0.6724 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6939, allocations: 0 / 0.6724 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6939, allocations: 3.984 kB / 0.6724 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6939, allocations: 0 / 0.6724 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.694, allocations: 0 / 0.6724 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.6941, allocations: 85.48 kB / 0.6724 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.6942, allocations: 85.05 kB / 0.6725 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6942, allocations: 0 / 0.6725 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.6943, allocations: 0 / 0.6725 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.6943, allocations: 7.984 kB / 0.6725 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.6943, allocations: 3.938 kB / 0.6725 GB, free: 13.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.6944, allocations: 83.28 kB / 0.6726 GB, free: 13.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6944, allocations: 64 / 0.6726 GB, free: 13.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.6947, allocations: 35.94 kB / 0.6726 GB, free: 13.69 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.0006676/0.6954, allocations: 0.6522 MB / 0.6733 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.6955, allocations: 16 kB / 0.6733 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6955, allocations: 3.938 kB / 0.6733 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.6955, allocations: 12.17 kB / 0.6733 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.6957, allocations: 10.69 kB / 0.6733 GB, free: 12.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.6965, allocations: 0.5221 MB / 0.6738 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6969, allocations: 0.6848 MB / 0.6745 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.6969, allocations: 4.859 kB / 0.6745 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.697, allocations: 11.42 kB / 0.6745 GB, free: 11.67 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.697, allocations: 3.938 kB / 0.6745 GB, free: 11.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.712, allocations: 1.74 MB / 0.6762 GB, free: 10.09 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.7122, allocations: 203 kB / 0.6764 GB, free: 9.855 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.262, allocations: 0 / 0.6764 GB, free: 9.855 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)