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.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.001401/0.001401, allocations: 114.1 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.00154/0.00154, allocations: 203.2 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.572/1.572, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.057/1.057, allocations: 150 MB / 460.2 MB, free: 5.215 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",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="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.002148/0.002148, allocations: 65.41 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.221, allocations: 89.14 MB / 0.7238 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00353/0.2246, allocations: 1.282 MB / 0.7251 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2262, allocations: 0.6055 MB / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.2262, allocations: 0 / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.2263, allocations: 7.922 kB / 0.7257 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.2263, allocations: 4 kB / 0.7257 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.2273, allocations: 146.5 kB / 0.7258 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2274, allocations: 23.86 kB / 0.7259 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.2275, allocations: 3.984 kB / 0.7259 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.2275, allocations: 8 kB / 0.7259 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.2276, allocations: 7.938 kB / 0.7259 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2276, allocations: 7.938 kB / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.2283, allocations: 343.3 kB / 0.7262 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2283, allocations: 3.984 kB / 0.7262 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.2284, allocations: 11.94 kB / 0.7262 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.2288, allocations: 143.8 kB / 0.7264 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2288, allocations: 4 kB / 0.7264 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2288, allocations: 3.938 kB / 0.7264 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.2288, allocations: 4 kB / 0.7264 GB, free: 1.414 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006214/0.2294, allocations: 359.1 kB / 0.7267 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.2295, allocations: 12.03 kB / 0.7267 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.279e-05/0.2295, allocations: 192 / 0.7267 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.2296, allocations: 30.75 kB / 0.7268 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.2296, allocations: 4.938 kB / 0.7268 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.2298, allocations: 172.3 kB / 0.7269 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2298, allocations: 384 / 0.7269 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.2298, allocations: 19.88 kB / 0.727 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.23, allocations: 33.69 kB / 0.727 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.23, allocations: 0 / 0.727 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.23, allocations: 8 kB / 0.727 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.23, allocations: 0 / 0.727 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.23, allocations: 7.984 kB / 0.727 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.2303, allocations: 161.7 kB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.2305, allocations: 54.48 kB / 0.7272 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.2306, allocations: 12.86 kB / 0.7272 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.2306, allocations: 8.078 kB / 0.7272 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2306, allocations: 30.56 kB / 0.7273 GB, free: 356 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.2306, allocations: 0 / 0.7273 GB, free: 356 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0008308/0.2315, allocations: 302.3 kB / 0.7275 GB, free: 0 / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.2316, allocations: 51.41 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.2316, allocations: 97.84 kB / 0.7277 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2317, allocations: 33.7 kB / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.2317, allocations: 80.14 kB / 0.7278 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.2318, allocations: 15.8 kB / 0.7278 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.2318, allocations: 25.7 kB / 0.7278 GB, free: 15.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.232, allocations: 314.8 kB / 0.7281 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.232, allocations: 16 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.232, allocations: 15.86 kB / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.2321, allocations: 36.8 kB / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2321, allocations: 0 / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.2322, allocations: 69.62 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2323, allocations: 4 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2323, allocations: 0 / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.2323, allocations: 7.938 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.2324, allocations: 12 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2324, allocations: 3.938 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.2324, allocations: 4 kB / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2324, allocations: 4 kB / 0.7283 GB, free: 15.17 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 (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 0.0001224/0.2325, allocations: 117.8 kB / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.2326, allocations: 4 kB / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.2328, allocations: 70.39 kB / 0.7285 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2328, allocations: 0 / 0.7285 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2328, allocations: 0 / 0.7285 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2328, allocations: 0 / 0.7285 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.2332, allocations: 327.5 kB / 0.7288 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2332, allocations: 0 / 0.7288 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.2333, allocations: 8 kB / 0.7288 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.2333, allocations: 3.984 kB / 0.7288 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2333, allocations: 4 kB / 0.7288 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2333, allocations: 3.938 kB / 0.7288 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2333, allocations: 0 / 0.7288 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.2336, allocations: 188.3 kB / 0.729 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.2337, allocations: 81.11 kB / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2337, allocations: 3.984 kB / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.2338, allocations: 4 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.2338, allocations: 3.938 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2338, allocations: 4 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.622e-05/0.2338, allocations: 83.28 kB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2338, allocations: 0 / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002826/0.2341, allocations: 23.98 kB / 0.7292 GB, free: 14.14 MB / 0.545 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.0007169/0.2348, allocations: 0.7366 MB / 0.7299 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.235, allocations: 31.86 kB / 0.7299 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.235, allocations: 4.062 kB / 0.7299 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.2351, allocations: 19.98 kB / 0.73 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2353, allocations: 11.94 kB / 0.73 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.237, allocations: 1.331 MB / 0.7313 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.2374, allocations: 0.6807 MB / 0.7319 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.2374, allocations: 4 kB / 0.7319 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.2375, allocations: 15.44 kB / 0.732 GB, free: 11.17 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.2375, allocations: 0 / 0.732 GB, free: 11.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.2615, allocations: 1.659 MB / 0.7336 GB, free: 9.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.74/9.002, allocations: 8.062 kB / 0.7336 GB, free: 9.715 MB / 0.545 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 sys.exit(0), Time elapsed: 13.15206260298146] Failed to read output from testmodel.py, exit status != 0: 9.130534445983358 9.147964915 8.915463987 Calling exit ...