Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000853/0.000853, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007661/0.0007661, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8394/0.8394, allocations: 177.2 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001376/0.001376, allocations: 242.1 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6475/0.6475, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.81e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001433/0.001451, allocations: 1.266 MB / 0.6488 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2565/0.258, allocations: 0.5182 MB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.258, allocations: 1.906 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.2581, allocations: 0 / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.2581, allocations: 7.531 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2586, allocations: 142.1 kB / 0.6494 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.2586, allocations: 13.27 kB / 0.6494 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.2587, allocations: 2.328 kB / 0.6494 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2587, allocations: 5.062 kB / 0.6494 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.2587, allocations: 4.688 kB / 0.6494 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.2587, allocations: 0.875 kB / 0.6494 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.2591, allocations: 273.1 kB / 0.6497 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.2591, allocations: 2.406 kB / 0.6497 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.2591, allocations: 8.703 kB / 0.6497 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2593, allocations: 146.7 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2593, allocations: 1.156 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2593, allocations: 0.75 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2593, allocations: 0 / 0.6498 GB, free: 56.23 MB / 0.5573 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.0002773/0.2596, allocations: 279.4 kB / 0.6501 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2596, allocations: 10.62 kB / 0.6501 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.2597, allocations: 4.141 kB / 0.6501 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.537e-05/0.2597, allocations: 107.7 kB / 0.6502 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2597, allocations: 3.188 kB / 0.6502 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.2597, allocations: 1.938 kB / 0.6502 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.432e-05/0.2598, allocations: 37.45 kB / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2598, allocations: 192 / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.2598, allocations: 0.8906 kB / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2598, allocations: 3.188 kB / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.2599, allocations: 7.875 kB / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.377e-05/0.26, allocations: 102.3 kB / 0.6504 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.26, allocations: 23.61 kB / 0.6504 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.26, allocations: 8.797 kB / 0.6504 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.26, allocations: 1.312 kB / 0.6504 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.2601, allocations: 37.31 kB / 0.6504 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 5.11e-07/0.2601, allocations: 1.812 kB / 0.6504 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.2602, allocations: 40.58 kB / 0.6505 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.2602, allocations: 53.22 kB / 0.6505 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.947e-05/0.2602, allocations: 100.4 kB / 0.6506 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-06/0.2602, allocations: 27.52 kB / 0.6507 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.203e-05/0.2602, allocations: 81.92 kB / 0.6507 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.2603, allocations: 8.109 kB / 0.6507 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.2603, allocations: 18.56 kB / 0.6508 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.812e-05/0.2603, allocations: 314.5 kB / 0.6511 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.2603, allocations: 2.906 kB / 0.6511 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.2603, allocations: 4.109 kB / 0.6511 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.412e-05/0.2604, allocations: 17.77 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2604, allocations: 3.281 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.641e-05/0.2604, allocations: 37.03 kB / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2604, allocations: 6.75 kB / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2604, allocations: 0 / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2604, allocations: 0.9688 kB / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2606, allocations: 10.09 kB / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001708/0.2607, allocations: 0.5881 MB / 0.6517 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.2607, allocations: 7.938 kB / 0.6517 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.2608, allocations: 2.188 kB / 0.6517 GB, free: 54.31 MB / 0.5573 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 3.756e-05/0.2608, allocations: 110.1 kB / 0.6518 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-06/0.2608, allocations: 4.547 kB / 0.6518 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.2609, allocations: 46.45 kB / 0.6519 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2609, allocations: 0.8125 kB / 0.6519 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2609, allocations: 0.5156 kB / 0.6519 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2609, allocations: 1.922 kB / 0.6519 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.876e-05/0.2609, allocations: 102.6 kB / 0.652 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2609, allocations: 4.172 kB / 0.652 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.261, allocations: 10.39 kB / 0.652 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.261, allocations: 8.625 kB / 0.652 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.261, allocations: 4.625 kB / 0.652 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/0.2611, allocations: 0.5815 MB / 0.6526 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2611, allocations: 0 / 0.6526 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.854e-05/0.2611, allocations: 66.16 kB / 0.6526 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.2611, allocations: 4.219 kB / 0.6526 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.2612, allocations: 1.328 kB / 0.6526 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-06/0.2612, allocations: 5.375 kB / 0.6526 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.2612, allocations: 1.672 kB / 0.6526 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.2612, allocations: 2.438 kB / 0.6527 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.2612, allocations: 81.27 kB / 0.6527 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2612, allocations: 0 / 0.6527 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001266/0.2613, allocations: 11.88 kB / 0.6527 GB, free: 53.3 MB / 0.5573 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.0001285/0.2614, allocations: 116.4 kB / 0.6529 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.2616, allocations: 19.77 kB / 0.6529 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2616, allocations: 1.531 kB / 0.6529 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.2616, allocations: 13.33 kB / 0.6529 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.2617, allocations: 9.75 kB / 0.6529 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.262, allocations: 133.7 kB / 0.653 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.262, allocations: 57.88 kB / 0.6531 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.2621, allocations: 9.719 kB / 0.6531 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of SimCode: time 6.22e-07/0.2621, allocations: 0 / 0.6531 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of Templates: time 0.001848/0.2639, allocations: 0.7109 MB / 0.6538 GB, free: 52.98 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.242695786990225] Failed to read output from testmodel.py, exit status != 0: 0.26914478093385696 0.276694337 0.015799443 Calling exit ...