Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 119.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 192.7 kB / 20.07 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 225.6 MB / 248.5 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8538/0.8538, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.91 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4322, allocations: 83.45 MB / 0.6802 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002001/0.4342, allocations: 1.27 MB / 0.6814 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.4351, allocations: 0.6117 MB / 0.682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.4351, allocations: 0 / 0.682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.4351, allocations: 1.062 kB / 0.682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.4352, allocations: 3.938 kB / 0.682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.4357, allocations: 151.2 kB / 0.6822 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.196e-05/0.4357, allocations: 17.02 kB / 0.6822 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.4358, allocations: 6.219 kB / 0.6822 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.4358, allocations: 12.16 kB / 0.6822 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.4359, allocations: 11.36 kB / 0.6822 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.4359, allocations: 5.062 kB / 0.6822 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.4363, allocations: 344.8 kB / 0.6825 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.4363, allocations: 1.312 kB / 0.6825 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.4363, allocations: 11.56 kB / 0.6826 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.4365, allocations: 146 kB / 0.6827 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4365, allocations: 1.25 kB / 0.6827 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4365, allocations: 0 / 0.6827 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.4366, allocations: 0 / 0.6827 GB, free: 4.051 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003492/0.4369, allocations: 366.1 kB / 0.683 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4369, allocations: 10.03 kB / 0.6831 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.437, allocations: 35.95 kB / 0.6831 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.437, allocations: 2.281 kB / 0.6831 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/0.4371, allocations: 165.7 kB / 0.6833 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4371, allocations: 5.75 kB / 0.6833 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4371, allocations: 5.438 kB / 0.6833 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/0.4372, allocations: 40.31 kB / 0.6833 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4372, allocations: 0 / 0.6833 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4372, allocations: 1.406 kB / 0.6833 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4372, allocations: 4 kB / 0.6833 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.768e-05/0.4372, allocations: 10.5 kB / 0.6833 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.4374, allocations: 158.8 kB / 0.6835 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4375, allocations: 43.53 kB / 0.6835 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.4376, allocations: 19.17 kB / 0.6835 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4376, allocations: 0 / 0.6835 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.4376, allocations: 36.03 kB / 0.6836 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.4376, allocations: 0 / 0.6836 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005126/0.4381, allocations: 316.6 kB / 0.6839 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.4381, allocations: 52.47 kB / 0.6839 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.156e-05/0.4382, allocations: 101.2 kB / 0.684 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4382, allocations: 26.92 kB / 0.684 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.481e-05/0.4382, allocations: 80.14 kB / 0.6841 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.4382, allocations: 30.98 kB / 0.6841 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.4383, allocations: 18.16 kB / 0.6842 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.922e-05/0.4383, allocations: 311.9 kB / 0.6845 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.4383, allocations: 15.11 kB / 0.6845 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.4383, allocations: 10.62 kB / 0.6845 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.4384, allocations: 28.42 kB / 0.6845 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4384, allocations: 3.938 kB / 0.6845 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.798e-05/0.4385, allocations: 68.41 kB / 0.6846 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4385, allocations: 9.312 kB / 0.6846 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4385, allocations: 9.031 kB / 0.6846 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4385, allocations: 0 / 0.6846 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.4386, allocations: 13.55 kB / 0.6846 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.4386, allocations: 5.125 kB / 0.6846 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.4386, allocations: 0 / 0.6846 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.4386, allocations: 2.219 kB / 0.6846 GB, free: 2.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.278e-05/0.4386, allocations: 116.2 kB / 0.6847 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.4387, allocations: 5.984 kB / 0.6847 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.4388, allocations: 85.8 kB / 0.6848 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4388, allocations: 1.062 kB / 0.6848 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4388, allocations: 1.156 kB / 0.6848 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4388, allocations: 0 / 0.6848 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.439, allocations: 315.4 kB / 0.6851 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.439, allocations: 1.125 kB / 0.6851 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.4391, allocations: 13.58 kB / 0.6851 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4391, allocations: 1.219 kB / 0.6851 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4391, allocations: 5.25 kB / 0.6851 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4391, allocations: 5.156 kB / 0.6851 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4391, allocations: 0 / 0.6851 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.4392, allocations: 178 kB / 0.6853 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.4392, allocations: 88.11 kB / 0.6854 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4393, allocations: 1.406 kB / 0.6854 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.4393, allocations: 1.406 kB / 0.6854 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.4393, allocations: 6.141 kB / 0.6854 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4393, allocations: 13.84 kB / 0.6854 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.4394, allocations: 78.03 kB / 0.6855 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4394, allocations: 0 / 0.6855 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002436/0.4396, allocations: 18.88 kB / 0.6855 GB, free: 1.117 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003319/0.4399, allocations: 0.731 MB / 0.6862 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.44, allocations: 26.73 kB / 0.6863 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.44, allocations: 0 / 0.6863 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.4401, allocations: 18.69 kB / 0.6863 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4403, allocations: 10.69 kB / 0.6863 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4415, allocations: 1.335 MB / 0.6876 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4418, allocations: 0.6808 MB / 0.6882 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.4418, allocations: 2.75 kB / 0.6882 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.4418, allocations: 19.23 kB / 0.6883 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.4418, allocations: 4 kB / 0.6883 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.4678, allocations: 1.596 MB / 0.6898 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.705, allocations: 20.55 kB / 0.6899 GB, free: 13.52 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.30392615776509] Failed to read output from testmodel.py, exit status != 0: 8.773520353715867 8.78888675 8.349187667 Calling exit ...