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.0008234/0.0008234, allocations: 72.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.0008214/0.0008214, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.8792/0.8792, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.001481/0.001481, allocations: 230.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.6825/0.6825, allocations: 138.4 MB / 455.1 MB, free: 29.95 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.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.521e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4051/0.4051, allocations: 147.7 MB / 0.7918 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004819/0.4099, allocations: 5.975 MB / 0.7976 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.4102, allocations: 23.75 kB / 0.7977 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.4107, allocations: 178.7 kB / 0.7978 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.4122, allocations: 0.8552 MB / 0.7987 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.4129, allocations: 374.6 kB / 0.799 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.4134, allocations: 0.7211 MB / 0.7997 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.4137, allocations: 223.9 kB / 0.7999 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009706/0.4147, allocations: 0.654 MB / 0.8006 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.4149, allocations: 251.3 kB / 0.8008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.415, allocations: 20 kB / 0.8008 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.4153, allocations: 299.1 kB / 0.8011 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.4154, allocations: 119.6 kB / 0.8012 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.4155, allocations: 111.7 kB / 0.8013 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.416, allocations: 486.5 kB / 0.8018 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.416, allocations: 0 / 0.8018 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.285e-06/0.416, allocations: 0 / 0.8018 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.416, allocations: 0 / 0.8018 GB, free: 12.7 MB / 0.6355 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.0006239/0.4166, allocations: 0.5637 MB / 0.8024 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4167, allocations: 9.938 kB / 0.8024 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.4169, allocations: 63.72 kB / 0.8024 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4173, allocations: 260 kB / 0.8027 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.4173, allocations: 20.66 kB / 0.8027 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.4173, allocations: 28 kB / 0.8027 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.4177, allocations: 317 kB / 0.803 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4177, allocations: 7.984 kB / 0.803 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.4177, allocations: 4 kB / 0.803 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4177, allocations: 8 kB / 0.803 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.4179, allocations: 201.8 kB / 0.8032 GB, free: 11.15 MB / 0.6355 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.0008826/0.4188, allocations: 1.126 MB / 0.8043 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.419, allocations: 106.5 kB / 0.8044 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4191, allocations: 85.67 kB / 0.8045 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.4193, allocations: 75.92 kB / 0.8046 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4194, allocations: 34.5 kB / 0.8046 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.4194, allocations: 0 / 0.8046 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004454/0.4198, allocations: 275 kB / 0.8049 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.4198, allocations: 51.41 kB / 0.8049 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.42, allocations: 229.9 kB / 0.8052 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.42, allocations: 25.7 kB / 0.8052 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4201, allocations: 200.1 kB / 0.8054 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.4201, allocations: 43.64 kB / 0.8054 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.4202, allocations: 37.7 kB / 0.8054 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.4203, allocations: 326.8 kB / 0.8058 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.4203, allocations: 63.95 kB / 0.8058 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4205, allocations: 190.1 kB / 0.806 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.4207, allocations: 176.9 kB / 0.8062 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4207, allocations: 4 kB / 0.8062 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002292/0.4209, allocations: 212.3 kB / 0.8064 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4209, allocations: 10.28 kB / 0.8064 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.4209, allocations: 4 kB / 0.8064 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4209, allocations: 0 / 0.8064 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.421, allocations: 35.92 kB / 0.8064 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.421, allocations: 3.984 kB / 0.8064 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.4211, allocations: 26.2 kB / 0.8065 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4211, allocations: 11.98 kB / 0.8065 GB, free: 7.668 MB / 0.6355 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.0001004/0.4212, allocations: 150.4 kB / 0.8066 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4212, allocations: 23.86 kB / 0.8066 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.4215, allocations: 206.6 kB / 0.8068 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4215, allocations: 0 / 0.8068 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4215, allocations: 4 kB / 0.8068 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4215, allocations: 0 / 0.8068 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.4222, allocations: 0.6023 MB / 0.8074 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4222, allocations: 7.984 kB / 0.8074 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.4223, allocations: 27.92 kB / 0.8075 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4223, allocations: 8.203 kB / 0.8075 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4223, allocations: 8 kB / 0.8075 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4223, allocations: 1.5 kB / 0.8075 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4223, allocations: 4 kB / 0.8075 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.4226, allocations: 325.2 kB / 0.8078 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.4226, allocations: 31.84 kB / 0.8078 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4226, allocations: 11.98 kB / 0.8078 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.4227, allocations: 4 kB / 0.8078 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4227, allocations: 23.86 kB / 0.8079 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.4227, allocations: 11.98 kB / 0.8079 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.4228, allocations: 161.2 kB / 0.808 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4228, allocations: 0 / 0.808 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002424/0.4231, allocations: 90.25 kB / 0.8081 GB, free: 5.887 MB / 0.6355 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.000216/0.4233, allocations: 131.1 kB / 0.8082 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.4235, allocations: 159.8 kB / 0.8084 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4235, allocations: 0 / 0.8084 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.4236, allocations: 80.58 kB / 0.8085 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.424, allocations: 92.53 kB / 0.8085 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.4246, allocations: 0.5434 MB / 0.8091 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.4247, allocations: 175.4 kB / 0.8092 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.4248, allocations: 24.5 kB / 0.8093 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.4248, allocations: 0 / 0.8093 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of Templates: time 0.004272/0.4291, allocations: 3.926 MB / 0.8131 GB, free: 0.7656 MB / 0.6355 GB " [Timeout remaining time 660] 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: 6.307979854755104] Failed to read output from testmodel.py, exit status != 0: 0.43562452774494886 0.44312277899999997 0.025414318 Calling exit ...