Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001369/0.001369, allocations: 101.9 kB / 20.48 MB, free: 1.379 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.001596/0.001596, allocations: 214.8 kB / 23.78 MB, free: 4.547 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.9688/0.9688, allocations: 150 MB / 463.9 MB, free: 10.28 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_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.002054/0.002054, allocations: 66.09 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2051, allocations: 89.18 MB / 0.729 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002786/0.2079, allocations: 1.258 MB / 0.7303 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.209, allocations: 0.5177 MB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.209, allocations: 0 / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.2091, allocations: 0 / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.2091, allocations: 7.984 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.2096, allocations: 135.4 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.2097, allocations: 7.938 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.2098, allocations: 4 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/0.2098, allocations: 3.984 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.2098, allocations: 7.938 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2099, allocations: 0 / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.2103, allocations: 283.5 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.2104, allocations: 8 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.2104, allocations: 3.938 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2107, allocations: 139.8 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2107, allocations: 0 / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2107, allocations: 0 / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.2107, allocations: 0 / 0.7314 GB, free: 14.48 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.0005451/0.2113, allocations: 278 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.2113, allocations: 12.03 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.2113, allocations: 192 / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.2114, allocations: 34.75 kB / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.2114, allocations: 4.891 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2115, allocations: 110.5 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2115, allocations: 384 / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2116, allocations: 3.938 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.2117, allocations: 41.62 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2117, allocations: 0 / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2117, allocations: 0 / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.2117, allocations: 0 / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.2117, allocations: 7.938 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.2119, allocations: 120.8 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.212, allocations: 26.53 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.212, allocations: 16.92 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.212, allocations: 0 / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.2121, allocations: 34.5 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.2121, allocations: 0 / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.2122, allocations: 37.7 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2122, allocations: 55.41 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/0.2123, allocations: 97.84 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2123, allocations: 25.7 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.2124, allocations: 80.39 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2124, allocations: 7.953 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.2124, allocations: 17.72 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2126, allocations: 310.8 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.2126, allocations: 7.984 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.2126, allocations: 0 / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.2127, allocations: 20.8 kB / 0.7326 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2127, allocations: 0 / 0.7326 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.511e-05/0.2127, allocations: 37.64 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2127, allocations: 4 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2127, allocations: 4.094 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2128, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2129, allocations: 11.98 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.2134, allocations: 0.5938 MB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.2134, allocations: 7.891 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.2134, allocations: 0 / 0.7333 GB, free: 12.29 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 0.0001024/0.2135, allocations: 111.8 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.2135, allocations: 7.984 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.2136, allocations: 45.11 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2136, allocations: 0 / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2136, allocations: 0 / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2137, allocations: 3.938 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2138, allocations: 124.8 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2138, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.2138, allocations: 15.92 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2138, allocations: 3.938 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2139, allocations: 0 / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003754/0.2142, allocations: 0.5939 MB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2142, allocations: 0 / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.978e-05/0.2143, allocations: 61.12 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.2143, allocations: 11.92 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2143, allocations: 3.938 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.2144, allocations: 0 / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.2144, allocations: 0 / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.2144, allocations: 0 / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.2144, allocations: 79.28 kB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2144, allocations: 0 / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002089/0.2146, allocations: 16.12 kB / 0.7343 GB, free: 11.12 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.0005113/0.2151, allocations: 0.6162 MB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.2153, allocations: 19.92 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2153, allocations: 0 / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.2154, allocations: 19.98 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.2155, allocations: 0.75 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.2161, allocations: 141.3 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.2161, allocations: 55.36 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.2161, allocations: 3.984 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2162, allocations: 11.44 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2162, allocations: 0 / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.238, allocations: 1.465 MB / 0.7366 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.42, allocations: 13.73 kB / 0.7366 GB, free: 8.867 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.4355411529541] Failed to read output from testmodel.py, exit status != 0: 13.588007787941024 13.60432208 13.390417701 Calling exit ...