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.001534/0.001534, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001431/0.001431, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.002421/0.002421, allocations: 237.3 kB / 260 MB, free: 436 kB / 238.1 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.8868/0.8868, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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: NcDataReader2 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: BuildingSystems 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.00285/0.00285, allocations: 95.86 kB / 0.6473 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4243, allocations: 95.34 MB / 0.7404 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002223/0.4265, allocations: 1.275 MB / 0.7417 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009134/0.4274, allocations: 0.5224 MB / 0.7422 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.4275, allocations: 5.188 kB / 0.7422 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.4275, allocations: 4.641 kB / 0.7422 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.4275, allocations: 0 / 0.7422 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.428, allocations: 147.2 kB / 0.7424 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.4281, allocations: 15.36 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.4281, allocations: 5.953 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.4282, allocations: 2.438 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.4282, allocations: 3.516 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4282, allocations: 0 / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.4287, allocations: 272.5 kB / 0.7426 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.4287, allocations: 1.906 kB / 0.7426 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.4287, allocations: 9.156 kB / 0.7426 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.4289, allocations: 127.1 kB / 0.7428 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4289, allocations: 0 / 0.7428 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.429, allocations: 1.062 kB / 0.7428 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.429, allocations: 0 / 0.7428 GB, free: 15.99 MB / 0.5919 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.0002863/0.4292, allocations: 272.3 kB / 0.743 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4293, allocations: 14.8 kB / 0.743 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.4293, allocations: 1.594 kB / 0.743 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.426e-05/0.4294, allocations: 109.9 kB / 0.7432 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4294, allocations: 0.8906 kB / 0.7432 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.4294, allocations: 1.656 kB / 0.7432 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.4295, allocations: 34.69 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4295, allocations: 1.312 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.4295, allocations: 3.938 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.4295, allocations: 1.688 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.4295, allocations: 7.016 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.4297, allocations: 110.2 kB / 0.7433 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.4297, allocations: 23.77 kB / 0.7433 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.4297, allocations: 7.875 kB / 0.7433 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4298, allocations: 1.031 kB / 0.7433 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4298, allocations: 33.41 kB / 0.7434 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4298, allocations: 0 / 0.7434 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/0.4299, allocations: 47.78 kB / 0.7434 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.43, allocations: 53.2 kB / 0.7435 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.167e-05/0.43, allocations: 98.47 kB / 0.7436 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.43, allocations: 25.7 kB / 0.7436 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.723e-05/0.43, allocations: 82.23 kB / 0.7437 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4301, allocations: 12.95 kB / 0.7437 GB, free: 15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.4301, allocations: 13.25 kB / 0.7437 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.4301, allocations: 316.6 kB / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.4302, allocations: 2.344 kB / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-06/0.4302, allocations: 2.859 kB / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.4302, allocations: 14.28 kB / 0.744 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4302, allocations: 3.938 kB / 0.744 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.469e-05/0.4302, allocations: 37.16 kB / 0.744 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4303, allocations: 4.156 kB / 0.7441 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4303, allocations: 5.469 kB / 0.7441 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4303, allocations: 8.688 kB / 0.7441 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.4304, allocations: 9.938 kB / 0.7441 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002782/0.4307, allocations: 0.5801 MB / 0.7446 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.4307, allocations: 1.094 kB / 0.7446 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4308, allocations: 4.938 kB / 0.7446 GB, free: 14.02 MB / 0.5919 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 6.074e-05/0.4308, allocations: 124.4 kB / 0.7448 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.4308, allocations: 1 kB / 0.7448 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4309, allocations: 48.55 kB / 0.7448 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4309, allocations: 1.219 kB / 0.7448 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4309, allocations: 3.984 kB / 0.7448 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4309, allocations: 1.797 kB / 0.7448 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.313e-05/0.431, allocations: 100.8 kB / 0.7449 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.431, allocations: 5.188 kB / 0.7449 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.4311, allocations: 9.703 kB / 0.7449 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4311, allocations: 0 / 0.7449 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.4311, allocations: 1.688 kB / 0.7449 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002021/0.4313, allocations: 0.5959 MB / 0.7455 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4313, allocations: 0.5156 kB / 0.7455 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.739e-05/0.4313, allocations: 70.84 kB / 0.7456 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.4313, allocations: 1.469 kB / 0.7456 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.4314, allocations: 0.6562 kB / 0.7456 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.4314, allocations: 0 / 0.7456 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.4314, allocations: 3.109 kB / 0.7456 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.4314, allocations: 0 / 0.7456 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.4314, allocations: 78.86 kB / 0.7457 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4314, allocations: 4.156 kB / 0.7457 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002047/0.4316, allocations: 18.91 kB / 0.7457 GB, free: 12.94 MB / 0.5919 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.0001486/0.4318, allocations: 106 kB / 0.7458 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.4319, allocations: 19.39 kB / 0.7458 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4319, allocations: 0 / 0.7458 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.432, allocations: 14.67 kB / 0.7458 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.4322, allocations: 5.531 kB / 0.7458 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.4325, allocations: 110.1 kB / 0.7459 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.4325, allocations: 61.33 kB / 0.746 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.4326, allocations: 5.828 kB / 0.746 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.4326, allocations: 8.5 kB / 0.746 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.4326, allocations: 1 kB / 0.746 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.003022/0.4356, allocations: 481.2 kB / 0.7465 GB, free: 12.59 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5658430439652875] Failed to read output from testmodel.py, exit status != 0: 0.4428666819585487 0.45345072900000005 0.022021827 Calling exit ...