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.001305/0.001305, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001498/0.001498, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.002819/0.002819, allocations: 284 kB / 312.7 MB, free: 2.59 MB / 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 1.296/1.296, allocations: 180.6 MB / 0.5369 GB, free: 14.43 MB / 382.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.003051/0.003051, allocations: 101.7 kB / 0.74 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1746, allocations: 95.37 MB / 0.8331 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002456/0.1771, allocations: 1.271 MB / 0.8344 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1781, allocations: 0.5197 MB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.1782, allocations: 0 / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.1782, allocations: 3.938 kB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.1782, allocations: 3.984 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.1788, allocations: 144.1 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.1788, allocations: 11.92 kB / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.1789, allocations: 7.938 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.1789, allocations: 4 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.1789, allocations: 4 kB / 0.835 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.179, allocations: 0 / 0.835 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.1794, allocations: 267.5 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1794, allocations: 4 kB / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.1794, allocations: 3.938 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1797, allocations: 139.6 kB / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1797, allocations: 0 / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1797, allocations: 0 / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1797, allocations: 0 / 0.8354 GB, free: 5.453 MB / 0.5762 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.0003806/0.1801, allocations: 274 kB / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1801, allocations: 17.28 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.1802, allocations: 0.9375 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1803, allocations: 110.5 kB / 0.8358 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1803, allocations: 4.375 kB / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.1803, allocations: 384 / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.639e-05/0.1804, allocations: 34.27 kB / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1804, allocations: 192 / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1804, allocations: 3.938 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1804, allocations: 0 / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.1804, allocations: 11.94 kB / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1806, allocations: 105.3 kB / 0.836 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.1806, allocations: 22.58 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.1806, allocations: 12.8 kB / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1807, allocations: 4.062 kB / 0.836 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1807, allocations: 30.56 kB / 0.836 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1807, allocations: 4 kB / 0.836 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000134/0.1808, allocations: 49.56 kB / 0.8361 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.1809, allocations: 55.41 kB / 0.8361 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.1809, allocations: 89.86 kB / 0.8362 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.181, allocations: 25.7 kB / 0.8363 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.181, allocations: 88.14 kB / 0.8363 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.181, allocations: 3.953 kB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1811, allocations: 13.72 kB / 0.8364 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1812, allocations: 314.8 kB / 0.8367 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.1812, allocations: 4.25 kB / 0.8367 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.1812, allocations: 8 kB / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.363e-05/0.1813, allocations: 8.859 kB / 0.8367 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1813, allocations: 0 / 0.8367 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.914e-05/0.1813, allocations: 41.64 kB / 0.8367 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1814, allocations: 11.98 kB / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1814, allocations: 3.984 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1814, allocations: 3.938 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1815, allocations: 8 kB / 0.8367 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004135/0.1819, allocations: 0.5822 MB / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.1819, allocations: 0 / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.182, allocations: 8.016 kB / 0.8373 GB, free: 3.328 MB / 0.5762 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.135e-05/0.182, allocations: 117.7 kB / 0.8374 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.182, allocations: 0 / 0.8374 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1822, allocations: 48.94 kB / 0.8375 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1822, allocations: 4 kB / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1822, allocations: 0 / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1822, allocations: 128 / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.465e-05/0.1823, allocations: 105.3 kB / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1823, allocations: 3.938 kB / 0.8376 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.1823, allocations: 11.98 kB / 0.8376 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1823, allocations: 0 / 0.8376 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1823, allocations: 0 / 0.8376 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003635/0.1827, allocations: 0.5859 MB / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1827, allocations: 0 / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.244e-05/0.1828, allocations: 73.03 kB / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.1828, allocations: 0 / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.1828, allocations: 4.125 kB / 0.8382 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.1828, allocations: 8 kB / 0.8383 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.1828, allocations: 0 / 0.8383 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1828, allocations: 0 / 0.8383 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.1829, allocations: 75.28 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1829, allocations: 4 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002027/0.1831, allocations: 11.92 kB / 0.8383 GB, free: 2.191 MB / 0.5762 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.0001555/0.1832, allocations: 115.1 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1834, allocations: 24.08 kB / 0.8385 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1834, allocations: 0 / 0.8385 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.1835, allocations: 15.98 kB / 0.8385 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1836, allocations: 1.875 kB / 0.8385 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.1839, allocations: 108.5 kB / 0.8386 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.184, allocations: 67.22 kB / 0.8387 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.184, allocations: 12.03 kB / 0.8387 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.184, allocations: 7.438 kB / 0.8387 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.184, allocations: 0 / 0.8387 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.00276/0.1868, allocations: 483 kB / 0.8391 GB, free: 1.359 MB / 0.5762 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: 6.276293829083443] Failed to read output from testmodel.py, exit status != 0: 0.193898631259799 0.20928691799999996 0.026580535000000002 Calling exit ...