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.001624/0.001624, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002676/0.002676, allocations: 210.6 kB / 23.78 MB, free: 4.555 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.809 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 0.996/0.996, allocations: 150 MB / 464 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 178] 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.002264/0.002264, allocations: 65.81 kB / 0.642 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2118, allocations: 89.17 MB / 0.729 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002685/0.2144, allocations: 1.291 MB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2155, allocations: 0.5449 MB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.2156, allocations: 0 / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.2156, allocations: 0 / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.2156, allocations: 3.938 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.2163, allocations: 151.4 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.2164, allocations: 27.86 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.2165, allocations: 11.98 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.2165, allocations: 8 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.2166, allocations: 23.84 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2166, allocations: 0 / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.217, allocations: 279.5 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.2171, allocations: 7.969 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.2171, allocations: 11.94 kB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.2174, allocations: 143.8 kB / 0.7315 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2174, allocations: 3.984 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2174, allocations: 0 / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2174, allocations: 0 / 0.7315 GB, free: 14.34 MB / 0.5606 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.0004754/0.2179, allocations: 297.9 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2179, allocations: 12.03 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.711e-05/0.2179, allocations: 4.172 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.218, allocations: 34.69 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.218, allocations: 4.938 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2181, allocations: 110.5 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2182, allocations: 384 / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.2182, allocations: 11.88 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2184, allocations: 101.1 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.2184, allocations: 11.92 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2184, allocations: 4 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2184, allocations: 0 / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.2185, allocations: 27.92 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.2187, allocations: 128.8 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2188, allocations: 58.5 kB / 0.7322 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.2188, allocations: 28.84 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2189, allocations: 0 / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.2189, allocations: 34.56 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.2189, allocations: 0 / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001226/0.2201, allocations: 443.8 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2202, allocations: 59.34 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.2203, allocations: 97.84 kB / 0.7329 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2203, allocations: 29.7 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.2203, allocations: 80.14 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.2204, allocations: 43.64 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.2204, allocations: 21.72 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2206, allocations: 326.9 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.2206, allocations: 24.06 kB / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.2207, allocations: 23.98 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.2208, allocations: 55.98 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2208, allocations: 0 / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001661/0.2209, allocations: 97.62 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2209, allocations: 8 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.221, allocations: 3.938 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.221, allocations: 0 / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2211, allocations: 23.98 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2211, allocations: 0 / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.2211, allocations: 8 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2211, allocations: 8 kB / 0.7336 GB, free: 11.91 MB / 0.5606 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.0001042/0.2212, allocations: 123.7 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.2213, allocations: 4 kB / 0.7337 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.2215, allocations: 117.7 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2215, allocations: 0 / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2215, allocations: 0 / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2215, allocations: 0 / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.222, allocations: 329.4 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.222, allocations: 0 / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2221, allocations: 16 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2221, allocations: 4 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2221, allocations: 4 kB / 0.7342 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2221, allocations: 3.984 kB / 0.7342 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2221, allocations: 3.938 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2224, allocations: 208.4 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.2224, allocations: 3.953 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2224, allocations: 8.031 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.2225, allocations: 3.938 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2226, allocations: 15.91 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2226, allocations: 8 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.2226, allocations: 87.27 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2226, allocations: 0 / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002956/0.2229, allocations: 35.88 kB / 0.7345 GB, free: 10.88 MB / 0.5606 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.0007142/0.2236, allocations: 0.7719 MB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.2238, allocations: 64.5 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.2238, allocations: 0 / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.2239, allocations: 31.94 kB / 0.7354 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2241, allocations: 10.34 kB / 0.7354 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2259, allocations: 1.502 MB / 0.7369 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.2259, allocations: 72.27 kB / 0.7369 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.186e-05/0.226, allocations: 8 kB / 0.7369 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.2261, allocations: 23.5 kB / 0.737 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.2261, allocations: 3.938 kB / 0.737 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.252, allocations: 2.239 MB / 0.7391 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.03, allocations: 11.59 kB / 0.7392 GB, free: 6.223 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.154490962042473] Failed to read output from testmodel.py, exit status != 0: 12.20542585500516 12.237117991 12.013876345 Calling exit ...