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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004864/0.004864, allocations: 102.1 kB / 15.73 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 194.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 282.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9636/0.9636, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 99.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5364/0.6893, allocations: 193.8 MB / 0.9557 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.6996, allocations: 5.161 MB / 0.9607 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.701, allocations: 47.69 kB / 0.9608 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.703, allocations: 0.8081 MB / 0.9616 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005894/0.7089, allocations: 2.594 MB / 0.9641 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.7115, allocations: 1.113 MB / 0.9652 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.7147, allocations: 2.606 MB / 0.9677 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.7159, allocations: 0.8961 MB / 0.9686 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.7177, allocations: 1.109 MB / 0.9697 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.7188, allocations: 0.9456 MB / 0.9706 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.719, allocations: 83.94 kB / 0.9707 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.7222, allocations: 1.773 MB / 0.9724 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.7226, allocations: 438.5 kB / 0.9728 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000618/0.7232, allocations: 0.6487 MB / 0.9735 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.726, allocations: 2.173 MB / 0.9756 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.726, allocations: 3.938 kB / 0.9756 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.726, allocations: 0 / 0.9756 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.7261, allocations: 0 / 0.9756 GB, free: 12.46 MB / 0.7325 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.004722/0.7308, allocations: 1.93 MB / 0.9775 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7308, allocations: 16.02 kB / 0.9775 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/0.7348, allocations: 0.6498 MB / 0.9781 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.7363, allocations: 0.9449 MB / 0.979 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/0.7363, allocations: 69.98 kB / 0.9791 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.7365, allocations: 96.61 kB / 0.9792 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.7396, allocations: 1.466 MB / 0.9806 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.7397, allocations: 3.938 kB / 0.9806 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.7398, allocations: 36 kB / 0.9807 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.7398, allocations: 45.98 kB / 0.9807 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.7439, allocations: 1.522 MB / 0.9822 GB, free: 5.488 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.006978/0.7509, allocations: 5.471 MB / 0.9875 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.7546, allocations: 1.288 MB / 0.9888 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.7563, allocations: 0.653 MB / 0.9894 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/0.7572, allocations: 0.5812 MB / 0.99 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/0.7591, allocations: 0.7072 MB / 0.9907 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.036e-06/0.7591, allocations: 0 / 0.9907 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005699/0.7648, allocations: 1.882 MB / 0.9925 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.7649, allocations: 64.06 kB / 0.9926 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.7663, allocations: 1.239 MB / 0.9938 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.7664, allocations: 41.7 kB / 0.9938 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.7669, allocations: 0.5831 MB / 0.9944 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.7671, allocations: 280.1 kB / 0.9947 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.7675, allocations: 182.5 kB / 0.9949 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7676, allocations: 341.9 kB / 0.9952 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.7693, allocations: 0.5328 MB / 0.9957 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.7711, allocations: 0.8258 MB / 0.9965 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.7744, allocations: 1.324 MB / 0.9978 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.7745, allocations: 4 kB / 0.9978 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003916/0.7784, allocations: 1.491 MB / 0.9993 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.7784, allocations: 11.94 kB / 0.9993 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.7785, allocations: 8 kB / 0.9993 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.7785, allocations: 15.98 kB / 0.9993 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.78, allocations: 296.1 kB / 0.9996 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/0.78, allocations: 21.09 kB / 0.9996 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.7813, allocations: 196.7 kB / 0.9998 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.7814, allocations: 51.98 kB / 0.9998 GB, free: 2.742 MB / 0.7481 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.00055/0.782, allocations: 344.2 kB / 1 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.7822, allocations: 138.3 kB / 1 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.7861, allocations: 1.408 MB / 1.002 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.7861, allocations: 8 kB / 1.002 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7861, allocations: 8 kB / 1.002 GB, free: 0.8281 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.7861, allocations: 3.984 kB / 1.002 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.7918, allocations: 2.787 MB / 1.004 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.7918, allocations: 4.5 kB / 1.004 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.7931, allocations: 231.3 kB / 1.005 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.7931, allocations: 7.938 kB / 1.005 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.7932, allocations: 27.97 kB / 1.005 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.7932, allocations: 11.94 kB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7932, allocations: 4 kB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005458/0.7987, allocations: 2.252 MB / 1.007 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.7991, allocations: 299.2 kB / 1.007 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.7993, allocations: 16 kB / 1.007 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.8004, allocations: 123.8 kB / 1.007 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8005, allocations: 60.38 kB / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.8006, allocations: 35.97 kB / 1.007 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009435/0.8016, allocations: 0.8522 MB / 1.008 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3e-07/0.8016, allocations: 4 kB / 1.008 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009345/0.8025, allocations: 319.5 kB / 1.009 GB, free: 9.633 MB / 0.7637 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 (80): * Single equations (assignments): 74 * 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.001292/0.8038, allocations: 0.5379 MB / 1.009 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.8074, allocations: 1.283 MB / 1.01 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8074, allocations: 256 / 1.01 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.8091, allocations: 0.644 MB / 1.011 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.8117, allocations: 0.5929 MB / 1.012 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.8163, allocations: 2.56 MB / 1.014 GB, free: 4.129 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.817, allocations: 1.171 MB / 1.015 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001074/0.8181, allocations: 349.9 kB / 1.016 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.8184, allocations: 107.4 kB / 1.016 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of SimCode: time 8.82e-07/0.8184, allocations: 4 kB / 1.016 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of Templates: time 0.03683/0.8553, allocations: 22.39 MB / 1.037 GB, free: 12.43 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)