Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 114.2 kB / 17.84 MB, free: 5.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 203.1 kB / 20.8 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.076/1.076, allocations: 150 MB / 460.2 MB, free: 5.668 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 66.53 kB / 0.6368 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2164, allocations: 89.13 MB / 0.7238 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003277/0.2197, allocations: 1.292 MB / 0.7251 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2211, allocations: 0.621 MB / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.2211, allocations: 0 / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.2211, allocations: 0 / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.2212, allocations: 7.922 kB / 0.7257 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.222, allocations: 147.4 kB / 0.7259 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.2221, allocations: 31.84 kB / 0.7259 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.2222, allocations: 4 kB / 0.7259 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.2222, allocations: 15.98 kB / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.2223, allocations: 11.92 kB / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2223, allocations: 4 kB / 0.7259 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.2229, allocations: 339.3 kB / 0.7262 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.2229, allocations: 11.98 kB / 0.7263 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.223, allocations: 11.94 kB / 0.7263 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.2233, allocations: 151.8 kB / 0.7264 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2233, allocations: 0 / 0.7264 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2234, allocations: 4 kB / 0.7264 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2234, allocations: 0 / 0.7264 GB, free: 1.395 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006621/0.224, allocations: 375 kB / 0.7268 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.2241, allocations: 12.03 kB / 0.7268 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.146e-05/0.2241, allocations: 4.188 kB / 0.7268 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.2241, allocations: 30.75 kB / 0.7268 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.2242, allocations: 4.938 kB / 0.7268 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2244, allocations: 168.3 kB / 0.727 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2244, allocations: 4.375 kB / 0.727 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2244, allocations: 15.89 kB / 0.727 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.2246, allocations: 45.69 kB / 0.727 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2246, allocations: 0 / 0.727 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.2246, allocations: 11.98 kB / 0.7271 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2246, allocations: 4 kB / 0.7271 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.307e-05/0.2247, allocations: 19.98 kB / 0.7271 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.2249, allocations: 169.6 kB / 0.7272 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2251, allocations: 62.42 kB / 0.7273 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.2251, allocations: 28.8 kB / 0.7273 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2251, allocations: 4 kB / 0.7273 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.2252, allocations: 38.55 kB / 0.7274 GB, free: 252 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2252, allocations: 0 / 0.7274 GB, free: 252 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001513/0.2267, allocations: 0.5751 MB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.2267, allocations: 59.39 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.2268, allocations: 93.86 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2269, allocations: 25.7 kB / 0.7281 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.2269, allocations: 88.14 kB / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.227, allocations: 43.58 kB / 0.7282 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.2271, allocations: 25.72 kB / 0.7283 GB, free: 15.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2272, allocations: 322.9 kB / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.2273, allocations: 23.98 kB / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.2273, allocations: 19.94 kB / 0.7286 GB, free: 14.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2274, allocations: 63.34 kB / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2274, allocations: 0 / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001883/0.2276, allocations: 97.64 kB / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2277, allocations: 4 kB / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2277, allocations: 0 / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.2277, allocations: 4 kB / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2278, allocations: 23.92 kB / 0.7288 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2278, allocations: 11.94 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.2279, allocations: 4 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2279, allocations: 0 / 0.7288 GB, free: 14.64 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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 0.0001284/0.228, allocations: 121.8 kB / 0.7289 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.228, allocations: 4 kB / 0.7289 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.2283, allocations: 105.9 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2283, allocations: 0 / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2283, allocations: 0 / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2283, allocations: 4 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.2289, allocations: 358.4 kB / 0.7294 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2289, allocations: 0 / 0.7294 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.229, allocations: 31.92 kB / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.229, allocations: 0 / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.229, allocations: 0 / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.229, allocations: 96 / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.229, allocations: 7.875 kB / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2293, allocations: 215.5 kB / 0.7296 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.2294, allocations: 85.05 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2294, allocations: 4.031 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.2295, allocations: 4 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.2296, allocations: 11.92 kB / 0.7297 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2296, allocations: 7.984 kB / 0.7297 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.2296, allocations: 75.28 kB / 0.7298 GB, free: 13.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2296, allocations: 0 / 0.7298 GB, free: 13.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003188/0.2299, allocations: 35.88 kB / 0.7298 GB, free: 13.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0007468/0.2307, allocations: 0.7926 MB / 0.7306 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.2309, allocations: 59.91 kB / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2309, allocations: 0 / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.231, allocations: 24 kB / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.2312, allocations: 23.11 kB / 0.7307 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.2332, allocations: 1.5 MB / 0.7322 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.2336, allocations: 0.6846 MB / 0.7328 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.287e-05/0.2336, allocations: 11.94 kB / 0.7328 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.2337, allocations: 19.44 kB / 0.7329 GB, free: 10.24 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/0.2337, allocations: 0 / 0.7329 GB, free: 10.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.2643, allocations: 2.131 MB / 0.7349 GB, free: 8.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.031, allocations: 11.86 kB / 0.735 GB, free: 8.316 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.270944738993421] Failed to read output from testmodel.py, exit status != 0: 9.15927736798767 9.174694704 8.948118174 Calling exit ...