Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001468/0.001468, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001696/0.001696, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.034/1.034, allocations: 150 MB / 464 MB, free: 10.66 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_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002699/0.002699, allocations: 72.98 kB / 0.642 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2071, allocations: 89.16 MB / 0.729 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002596/0.2097, allocations: 1.283 MB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2107, allocations: 0.5332 MB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.2108, allocations: 4 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.2108, allocations: 3.938 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.2108, allocations: 3.984 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.2114, allocations: 151.4 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.2115, allocations: 15.94 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.2115, allocations: 3.984 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.2116, allocations: 15.88 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.2116, allocations: 7.984 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2117, allocations: 0 / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.2121, allocations: 283.5 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2121, allocations: 3.938 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.2122, allocations: 11.98 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.2125, allocations: 135.8 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2125, allocations: 7.938 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2125, allocations: 0 / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2125, allocations: 0 / 0.7314 GB, free: 14.38 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004713/0.2129, allocations: 290 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.213, allocations: 8.031 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.213, allocations: 192 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.213, allocations: 34.75 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.2131, allocations: 4.938 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2132, allocations: 110.5 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2132, allocations: 8.375 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2132, allocations: 7.938 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2133, allocations: 67.39 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.2134, allocations: 0 / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2134, allocations: 0 / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2134, allocations: 0 / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.254e-05/0.2134, allocations: 11.94 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2136, allocations: 136.7 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2138, allocations: 46.48 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.2138, allocations: 16.86 kB / 0.7321 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2139, allocations: 4 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2139, allocations: 34.56 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2139, allocations: 0 / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006299/0.2145, allocations: 233.2 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2146, allocations: 55.41 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.2146, allocations: 93.86 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2146, allocations: 29.7 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.2147, allocations: 80.14 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2147, allocations: 27.78 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.2148, allocations: 17.72 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2149, allocations: 318.8 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.2149, allocations: 12 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.215, allocations: 11.98 kB / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.215, allocations: 36.78 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.215, allocations: 4 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.2151, allocations: 57.64 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2151, allocations: 14.02 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2151, allocations: 0 / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2152, allocations: 0 / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.2152, allocations: 12 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2152, allocations: 3.938 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.2152, allocations: 8 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2153, allocations: 0 / 0.7331 GB, free: 12.4 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 (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 8.876e-05/0.2153, allocations: 119.8 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.2154, allocations: 3.953 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.2155, allocations: 81.67 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2155, allocations: 4 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2155, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2155, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.2159, allocations: 286.4 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2159, allocations: 0 / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.216, allocations: 16.03 kB / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.216, allocations: 0 / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.216, allocations: 0 / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.216, allocations: 4 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.216, allocations: 3.984 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2162, allocations: 180.3 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.2162, allocations: 11.94 kB / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2162, allocations: 4 kB / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.2163, allocations: 0 / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.2163, allocations: 8.453 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2163, allocations: 4.062 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.2164, allocations: 91.25 kB / 0.7339 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2164, allocations: 0 / 0.7339 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002536/0.2166, allocations: 19.94 kB / 0.7339 GB, free: 11.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005957/0.2172, allocations: 0.7327 MB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2174, allocations: 28.23 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2174, allocations: 0 / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.2174, allocations: 19.94 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.2176, allocations: 14.14 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.219, allocations: 1.319 MB / 0.736 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.14e-05/0.2191, allocations: 75.34 kB / 0.7361 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.2191, allocations: 4.062 kB / 0.7361 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.2191, allocations: 15.44 kB / 0.7361 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.2191, allocations: 0 / 0.7361 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.2446, allocations: 1.786 MB / 0.7378 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.96, allocations: 13.58 kB / 0.7379 GB, free: 7.555 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.064246611087583] Failed to read output from testmodel.py, exit status != 0: 12.13021472399123 12.158667173 11.9403814 Calling exit ...