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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 100.1 kB / 15.88 MB, free: 12 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.001174/0.001174, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.157/1.157, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6039/0.6039, allocations: 115.3 MB / 406 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.89 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 76.18 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001432/0.111, allocations: 0.5911 MB / 0.5564 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005575/0.1116, allocations: 353.5 kB / 0.5568 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.1116, allocations: 0 / 0.5568 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.1116, allocations: 0 / 0.5568 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.048e-05/0.1117, allocations: 4 kB / 0.5568 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1119, allocations: 59.84 kB / 0.5568 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.576e-05/0.112, allocations: 12 kB / 0.5568 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.112, allocations: 3.984 kB / 0.5568 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.112, allocations: 4 kB / 0.5568 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.1121, allocations: 11.92 kB / 0.5569 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1121, allocations: 4 kB / 0.5569 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.1123, allocations: 183.8 kB / 0.557 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1123, allocations: 0 / 0.557 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.1124, allocations: 19.86 kB / 0.5571 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1125, allocations: 75.86 kB / 0.5571 GB, free: 9.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1125, allocations: 0 / 0.5571 GB, free: 9.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1125, allocations: 0 / 0.5571 GB, free: 9.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.1125, allocations: 0 / 0.5571 GB, free: 9.449 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.0002597/0.1128, allocations: 331.9 kB / 0.5574 GB, free: 9.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1128, allocations: 12.03 kB / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.1128, allocations: 34.75 kB / 0.5575 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.1129, allocations: 4.844 kB / 0.5575 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/0.113, allocations: 172.3 kB / 0.5577 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.113, allocations: 4.312 kB / 0.5577 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.113, allocations: 4.375 kB / 0.5577 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.164e-05/0.1131, allocations: 30.27 kB / 0.5577 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1131, allocations: 3.938 kB / 0.5577 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-06/0.1131, allocations: 0 / 0.5577 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1131, allocations: 0 / 0.5577 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.1131, allocations: 15.92 kB / 0.5577 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.1133, allocations: 153.6 kB / 0.5579 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.931e-05/0.1133, allocations: 22.59 kB / 0.5579 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.1133, allocations: 12.92 kB / 0.5579 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/0.1138, allocations: 0.5778 MB / 0.5585 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.1139, allocations: 34.56 kB / 0.5585 GB, free: 7.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1139, allocations: 0 / 0.5585 GB, free: 7.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000393/0.1143, allocations: 254.2 kB / 0.5587 GB, free: 7.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.1143, allocations: 51.62 kB / 0.5588 GB, free: 7.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.1144, allocations: 105.9 kB / 0.5589 GB, free: 7.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1144, allocations: 37.62 kB / 0.5589 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1144, allocations: 80.14 kB / 0.559 GB, free: 7.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1144, allocations: 3.906 kB / 0.559 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1145, allocations: 17.72 kB / 0.559 GB, free: 7.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.1145, allocations: 310.8 kB / 0.5593 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.1146, allocations: 11.98 kB / 0.5593 GB, free: 6.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.1146, allocations: 17.72 kB / 0.5593 GB, free: 6.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.1146, allocations: 25.72 kB / 0.5594 GB, free: 6.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1146, allocations: 0 / 0.5594 GB, free: 6.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.365e-05/0.1147, allocations: 57.53 kB / 0.5594 GB, free: 6.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1147, allocations: 7.938 kB / 0.5594 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1147, allocations: 0 / 0.5594 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1148, allocations: 4 kB / 0.5594 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.1148, allocations: 12.06 kB / 0.5594 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1148, allocations: 3.938 kB / 0.5594 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.1148, allocations: 4 kB / 0.5594 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1148, allocations: 3.984 kB / 0.5595 GB, free: 6.645 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 5.422e-05/0.1149, allocations: 113.8 kB / 0.5596 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.1149, allocations: 3.938 kB / 0.5596 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.599e-05/0.115, allocations: 53.19 kB / 0.5596 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.115, allocations: 0 / 0.5596 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.115, allocations: 4 kB / 0.5596 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.115, allocations: 8 kB / 0.5596 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.47e-05/0.1151, allocations: 149.7 kB / 0.5598 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1151, allocations: 0 / 0.5598 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1152, allocations: 7.984 kB / 0.5598 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1152, allocations: 3.938 kB / 0.5598 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1152, allocations: 4 kB / 0.5598 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1152, allocations: 0 / 0.5598 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1152, allocations: 4 kB / 0.5598 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1153, allocations: 77.06 kB / 0.5599 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.1154, allocations: 85.05 kB / 0.5599 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.1154, allocations: 0 / 0.5599 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.1154, allocations: 11.95 kB / 0.56 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.1154, allocations: 0 / 0.56 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1154, allocations: 0 / 0.56 GB, free: 6.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.684e-05/0.1155, allocations: 79.28 kB / 0.56 GB, free: 5.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1155, allocations: 0 / 0.56 GB, free: 5.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1157, allocations: 31.98 kB / 0.5601 GB, free: 5.918 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.0003603/0.1161, allocations: 0.6519 MB / 0.5607 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.27e-05/0.1161, allocations: 8 kB / 0.5607 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1161, allocations: 4 kB / 0.5607 GB, free: 5.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/0.1162, allocations: 11.98 kB / 0.5607 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1163, allocations: 12.12 kB / 0.5607 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/0.117, allocations: 1.144 MB / 0.5618 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.1172, allocations: 0.677 MB / 0.5625 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.1172, allocations: 8.062 kB / 0.5625 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1173, allocations: 15.44 kB / 0.5625 GB, free: 3.242 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1173, allocations: 0 / 0.5625 GB, free: 3.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.61/1.728, allocations: 1.948 MB / 0.5644 GB, free: 1.457 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5903/2.318, allocations: 227.2 kB / 0.5646 GB, free: 1.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/5.321, allocations: 3.938 kB / 0.5647 GB, free: 1.199 MB / 430.1 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/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)