Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001572/0.001572, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001645/0.001645, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002579/0.002579, allocations: 293.6 kB / 313.5 MB, free: 2.832 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.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [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.002856/0.002856, allocations: 101.9 kB / 0.7408 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1734, allocations: 95.39 MB / 0.834 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6182/0.7916, allocations: 171.2 MB / 1.001 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006869/0.7985, allocations: 6.637 MB / 1.008 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006993/0.7992, allocations: 18.66 kB / 1.008 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.7998, allocations: 167.9 kB / 1.008 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.8022, allocations: 0.892 MB / 1.009 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.8033, allocations: 352.3 kB / 1.009 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.8044, allocations: 0.7322 MB / 1.01 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.8049, allocations: 213.3 kB / 1.01 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.8063, allocations: 0.5813 MB / 1.01 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.8069, allocations: 287.9 kB / 1.011 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.8069, allocations: 22.69 kB / 1.011 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008328/0.8078, allocations: 364 kB / 1.011 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.8079, allocations: 121.6 kB / 1.011 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.8081, allocations: 166.6 kB / 1.011 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007717/0.8089, allocations: 473.4 kB / 1.012 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8089, allocations: 1.094 kB / 1.012 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8089, allocations: 0.75 kB / 1.012 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.8089, allocations: 3.094 kB / 1.012 GB, free: 3.527 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009856/0.8099, allocations: 0.5493 MB / 1.012 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.81, allocations: 10.56 kB / 1.012 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.8103, allocations: 66.09 kB / 1.012 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.8108, allocations: 258.9 kB / 1.013 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.8108, allocations: 22.09 kB / 1.013 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.8108, allocations: 26.09 kB / 1.013 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.8113, allocations: 316.2 kB / 1.013 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8113, allocations: 4.281 kB / 1.013 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.8113, allocations: 10.19 kB / 1.013 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.8113, allocations: 7.562 kB / 1.013 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.8117, allocations: 206.5 kB / 1.013 GB, free: 18.87 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.8132, allocations: 1.5 MB / 1.015 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.8134, allocations: 114.7 kB / 1.015 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.8136, allocations: 82.52 kB / 1.015 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.814, allocations: 76.33 kB / 1.015 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.8141, allocations: 36.5 kB / 1.015 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.8141, allocations: 3.984 kB / 1.015 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0006959/0.8148, allocations: 274.3 kB / 1.015 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.8148, allocations: 52.69 kB / 1.015 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.8151, allocations: 315.3 kB / 1.016 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.8151, allocations: 28.83 kB / 1.016 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.8152, allocations: 185.9 kB / 1.016 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.8153, allocations: 49.94 kB / 1.016 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.8153, allocations: 38.8 kB / 1.016 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8155, allocations: 338.5 kB / 1.016 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.8156, allocations: 62.31 kB / 1.016 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.8158, allocations: 114.3 kB / 1.016 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.8161, allocations: 178.9 kB / 1.017 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8161, allocations: 1.812 kB / 1.017 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000388/0.8165, allocations: 226.7 kB / 1.017 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8165, allocations: 5.406 kB / 1.017 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8165, allocations: 2 kB / 1.017 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8165, allocations: 2.312 kB / 1.017 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.8167, allocations: 35.56 kB / 1.017 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.8167, allocations: 1.844 kB / 1.017 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.8168, allocations: 31.78 kB / 1.017 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.8169, allocations: 6.406 kB / 1.017 GB, free: 16.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.817, allocations: 158.3 kB / 1.017 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.8171, allocations: 26.12 kB / 1.017 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.8174, allocations: 209.6 kB / 1.017 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8174, allocations: 1.281 kB / 1.017 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8175, allocations: 2.906 kB / 1.017 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8175, allocations: 2.812 kB / 1.017 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.8184, allocations: 0.6535 MB / 1.018 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8184, allocations: 1.094 kB / 1.018 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8185, allocations: 25.19 kB / 1.018 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8185, allocations: 3.812 kB / 1.018 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.8185, allocations: 5.516 kB / 1.018 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8185, allocations: 10.12 kB / 1.018 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8185, allocations: 3.922 kB / 1.018 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.8189, allocations: 337.8 kB / 1.018 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.819, allocations: 49.22 kB / 1.018 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.8191, allocations: 3.312 kB / 1.018 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8192, allocations: 16.47 kB / 1.018 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.8192, allocations: 11.8 kB / 1.018 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.8193, allocations: 9.344 kB / 1.018 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000195/0.8195, allocations: 225.2 kB / 1.019 GB, free: 16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8195, allocations: 1.375 kB / 1.019 GB, free: 16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004029/0.8199, allocations: 72.8 kB / 1.019 GB, free: 15.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/0.8201, allocations: 132.5 kB / 1.019 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.8205, allocations: 154.2 kB / 1.019 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8205, allocations: 3.938 kB / 1.019 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.8206, allocations: 84.12 kB / 1.019 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.8214, allocations: 148.7 kB / 1.019 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.8223, allocations: 0.5758 MB / 1.02 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.8226, allocations: 0.7819 MB / 1.02 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.8227, allocations: 24.62 kB / 1.021 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/0.8227, allocations: 0.9688 kB / 1.021 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.006517/0.8292, allocations: 4.582 MB / 1.025 GB, free: 14.58 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.594121516915038] Failed to read output from testmodel.py, exit status != 0: 0.836379581131041 0.846425342 0.035018392 Calling exit ...