Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.6 kB / 18.32 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 190 kB / 21.5 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.1 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 288.2 kB / 305.5 MB, free: 3.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 180.9 MB / 0.5289 GB, free: 1.965 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 107.8 kB / 0.7291 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5191, allocations: 94.16 MB / 0.821 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2325/0.7516, allocations: 194.9 MB / 1.011 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009084/0.7606, allocations: 5.165 MB / 1.016 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009478/0.7616, allocations: 47.69 kB / 1.016 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7634, allocations: 0.8315 MB / 1.017 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.7694, allocations: 2.692 MB / 1.02 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.7721, allocations: 1.12 MB / 1.021 GB, free: 396 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.7755, allocations: 2.625 MB / 1.024 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.7766, allocations: 0.7283 MB / 1.024 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.7784, allocations: 1.117 MB / 1.025 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.7797, allocations: 1.016 MB / 1.026 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.7798, allocations: 80 kB / 1.026 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.7831, allocations: 1.902 MB / 1.028 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004658/0.7836, allocations: 454.4 kB / 1.029 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.7843, allocations: 0.6293 MB / 1.029 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.7874, allocations: 2.164 MB / 1.031 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7874, allocations: 0 / 1.031 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7874, allocations: 0 / 1.031 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.7875, allocations: 0 / 1.031 GB, free: 5.637 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005118/0.7926, allocations: 1.978 MB / 1.033 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7926, allocations: 12.03 kB / 1.033 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/0.7965, allocations: 0.6662 MB / 1.034 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.7982, allocations: 0.9538 MB / 1.035 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.7982, allocations: 73.98 kB / 1.035 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.7984, allocations: 84 kB / 1.035 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.8018, allocations: 1.466 MB / 1.037 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.8018, allocations: 4 kB / 1.037 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.8019, allocations: 43.97 kB / 1.037 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.802, allocations: 49.92 kB / 1.037 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.8061, allocations: 1.518 MB / 1.038 GB, free: 14.6 MB / 0.7794 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.007892/0.814, allocations: 5.488 MB / 1.043 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.8177, allocations: 1.249 MB / 1.045 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.8195, allocations: 0.6234 MB / 1.045 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009722/0.8204, allocations: 0.5812 MB / 1.046 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.8224, allocations: 0.7106 MB / 1.047 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=80): time 3.046e-06/0.8224, allocations: 7.938 kB / 1.047 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=80): time 0.005849/0.8282, allocations: 1.887 MB / 1.048 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.8283, allocations: 64.05 kB / 1.048 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.8299, allocations: 1.239 MB / 1.05 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.83, allocations: 41.7 kB / 1.05 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.8306, allocations: 0.58 MB / 1.05 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.8309, allocations: 297.5 kB / 1.051 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.8312, allocations: 182.6 kB / 1.051 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8314, allocations: 345.9 kB / 1.051 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.833, allocations: 0.5405 MB / 1.052 GB, free: 320 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.8349, allocations: 0.8135 MB / 1.052 GB, free: 15.39 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.8383, allocations: 1.324 MB / 1.054 GB, free: 13.96 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.8383, allocations: 4 kB / 1.054 GB, free: 13.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004085/0.8424, allocations: 1.5 MB / 1.055 GB, free: 12.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.8425, allocations: 8 kB / 1.055 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8425, allocations: 8 kB / 1.055 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/0.8425, allocations: 16.03 kB / 1.055 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.844, allocations: 295.5 kB / 1.055 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.844, allocations: 15.94 kB / 1.055 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8454, allocations: 203 kB / 1.056 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8455, allocations: 51.97 kB / 1.056 GB, free: 11.86 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0006014/0.8461, allocations: 335.7 kB / 1.056 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.8463, allocations: 147 kB / 1.056 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.8503, allocations: 1.448 MB / 1.058 GB, free: 9.922 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.8503, allocations: 8 kB / 1.058 GB, free: 9.914 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8503, allocations: 0 / 1.058 GB, free: 9.914 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.8503, allocations: 3.984 kB / 1.058 GB, free: 9.91 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006123/0.8565, allocations: 2.819 MB / 1.06 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8565, allocations: 4 kB / 1.06 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.8578, allocations: 227.9 kB / 1.061 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.8578, allocations: 8 kB / 1.061 GB, free: 6.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.8579, allocations: 39.97 kB / 1.061 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.8579, allocations: 11.94 kB / 1.061 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8579, allocations: 4 kB / 1.061 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.8637, allocations: 2.277 MB / 1.063 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.8643, allocations: 311.9 kB / 1.063 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.8645, allocations: 24 kB / 1.063 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.8656, allocations: 111.9 kB / 1.063 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.8657, allocations: 64.38 kB / 1.063 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.8658, allocations: 43.91 kB / 1.063 GB, free: 3.797 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001153/0.8669, allocations: 0.8522 MB / 1.064 GB, free: 2.941 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8669, allocations: 96 / 1.064 GB, free: 2.941 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001023/0.868, allocations: 319.6 kB / 1.065 GB, free: 2.629 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001826/0.8698, allocations: 0.5388 MB / 1.065 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00377/0.8736, allocations: 1.261 MB / 1.066 GB, free: 1.008 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8736, allocations: 4 kB / 1.066 GB, free: 1.004 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.8754, allocations: 0.6169 MB / 1.067 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.8781, allocations: 0.5891 MB / 1.067 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.8835, allocations: 2.625 MB / 1.07 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008857/0.8844, allocations: 1.181 MB / 1.071 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001222/0.8856, allocations: 345.9 kB / 1.072 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.886, allocations: 111.4 kB / 1.072 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of SimCode: time 9.11e-07/0.886, allocations: 0 / 1.072 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.04303/0.929, allocations: 22.84 MB / 1.094 GB, free: 4.938 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.744850053997652]