Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001467/0.001467, 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.001519/0.001519, allocations: 212.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.537/1.537, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.018/1.018, allocations: 150 MB / 464 MB, free: 10.27 MB / 366.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.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002127/0.002127, allocations: 67.31 kB / 0.642 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2299, allocations: 89.17 MB / 0.729 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002631/0.2325, allocations: 1.253 MB / 0.7303 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2335, allocations: 0.5177 MB / 0.7308 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.2336, allocations: 0 / 0.7308 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.2336, allocations: 0 / 0.7308 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.2336, allocations: 7.938 kB / 0.7308 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.2342, allocations: 143.4 kB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.2343, allocations: 15.92 kB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.2343, allocations: 0 / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.2343, allocations: 11.94 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.2344, allocations: 0 / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2344, allocations: 4 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.2348, allocations: 283.5 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2348, allocations: 0 / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.2349, allocations: 4 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.2351, allocations: 135.8 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2351, allocations: 0 / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2351, allocations: 0 / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.2351, allocations: 4 kB / 0.7313 GB, free: 14.51 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004056/0.2355, allocations: 278 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2356, allocations: 8.031 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.2356, allocations: 192 / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.2356, allocations: 34.75 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.2357, allocations: 4.938 kB / 0.7317 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2358, allocations: 102.5 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2358, allocations: 384 / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2358, allocations: 11.92 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.2359, allocations: 29.64 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2359, allocations: 4 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2359, allocations: 7.938 kB / 0.7318 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2359, allocations: 0 / 0.7318 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.2359, allocations: 4 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.2361, allocations: 120.8 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.2362, allocations: 30.55 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.2362, allocations: 4.859 kB / 0.732 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.2362, allocations: 3.938 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2363, allocations: 34.62 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2363, allocations: 0 / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.2364, allocations: 41.81 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.2365, allocations: 55.41 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.2365, allocations: 93.86 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2365, allocations: 25.7 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.2366, allocations: 88.12 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.2366, allocations: 7.953 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.2366, allocations: 9.719 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2368, allocations: 318.8 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.2368, allocations: 7.938 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.2368, allocations: 7.938 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.2369, allocations: 13.05 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2369, allocations: 0 / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.193e-05/0.2369, allocations: 45.62 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.237, allocations: 8 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.237, allocations: 0 / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.237, allocations: 0 / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2371, allocations: 8 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004619/0.2376, allocations: 0.5859 MB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.2376, allocations: 7.922 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2376, allocations: 4.125 kB / 0.7333 GB, free: 12.31 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.2377, allocations: 115.8 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.2377, allocations: 0 / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2378, allocations: 48.98 kB / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2378, allocations: 0 / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.2379, allocations: 4 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.2379, allocations: 11.88 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.238, allocations: 116.8 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.238, allocations: 3.938 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.2381, allocations: 16.02 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2381, allocations: 4 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2381, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003751/0.2384, allocations: 0.5821 MB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2384, allocations: 0 / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.2385, allocations: 69.09 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.2385, allocations: 3.953 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2386, allocations: 7.938 kB / 0.7342 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.2386, allocations: 0 / 0.7342 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.2386, allocations: 8.125 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.2386, allocations: 0 / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.2386, allocations: 79.27 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2386, allocations: 0 / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001972/0.2388, allocations: 11.94 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004555/0.2393, allocations: 0.6046 MB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.2395, allocations: 24.05 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2395, allocations: 4.062 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.2396, allocations: 15.98 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.2397, allocations: 0 / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.2402, allocations: 151.3 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2403, allocations: 59.34 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.2404, allocations: 0 / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2404, allocations: 11.5 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.2404, allocations: 0 / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2628, allocations: 1.453 MB / 0.7366 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.27, allocations: 22.92 kB / 0.7366 GB, free: 8.895 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.36375012609642] Failed to read output from testmodel.py, exit status != 0: 13.436742851044983 13.453968622 13.215339704 Calling exit ...