Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001361/0.001361, allocations: 104.2 kB / 16.64 MB, free: 6.82 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.001394/0.001394, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.432/1.432, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7569/0.7569, allocations: 122.8 MB / 414.2 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.91 kB / 0.4912 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.403, allocations: 77.91 MB / 0.5673 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5238/0.9268, allocations: 191.3 MB / 0.7541 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009294/0.9362, allocations: 5.117 MB / 0.7591 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.9379, allocations: 44.97 kB / 0.7592 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.9402, allocations: 0.7251 MB / 0.7599 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007997/0.9482, allocations: 2.448 MB / 0.7623 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.952, allocations: 1.011 MB / 0.7633 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004768/0.9568, allocations: 2.631 MB / 0.7658 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.9584, allocations: 0.9028 MB / 0.7667 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.9614, allocations: 1.107 MB / 0.7678 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.9636, allocations: 1.011 MB / 0.7688 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.9638, allocations: 79.38 kB / 0.7689 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.9684, allocations: 1.851 MB / 0.7707 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006529/0.969, allocations: 443 kB / 0.7711 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.9703, allocations: 0.6467 MB / 0.7717 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.9734, allocations: 1.525 MB / 0.7732 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9734, allocations: 1.25 kB / 0.7732 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9734, allocations: 0 / 0.7732 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.9735, allocations: 0.9062 kB / 0.7732 GB, free: 1.391 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005918/0.9794, allocations: 1.925 MB / 0.7751 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.9795, allocations: 10.97 kB / 0.7751 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.9836, allocations: 0.6622 MB / 0.7757 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.9852, allocations: 0.8737 MB / 0.7766 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/0.9853, allocations: 70.7 kB / 0.7767 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.9854, allocations: 90.56 kB / 0.7768 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.9885, allocations: 1.471 MB / 0.7782 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.9885, allocations: 10.75 kB / 0.7782 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.9886, allocations: 35.69 kB / 0.7782 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.9887, allocations: 49.55 kB / 0.7783 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.9924, allocations: 1.516 MB / 0.7798 GB, free: 15.74 MB / 0.5919 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.007588/1, allocations: 5.483 MB / 0.7851 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/1.003, allocations: 1.285 MB / 0.7864 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/1.005, allocations: 0.6614 MB / 0.787 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/1.006, allocations: 0.5803 MB / 0.7876 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/1.008, allocations: 0.7081 MB / 0.7883 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.577e-06/1.008, allocations: 0 / 0.7883 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005496/1.013, allocations: 1.881 MB / 0.7901 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/1.013, allocations: 60.72 kB / 0.7902 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.015, allocations: 1.24 MB / 0.7914 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.015, allocations: 46.2 kB / 0.7914 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/1.016, allocations: 0.5749 MB / 0.792 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/1.016, allocations: 276.4 kB / 0.7923 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/1.017, allocations: 183.3 kB / 0.7924 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.017, allocations: 343.1 kB / 0.7928 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/1.018, allocations: 0.5362 MB / 0.7933 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/1.02, allocations: 0.8277 MB / 0.7941 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/1.023, allocations: 1.323 MB / 0.7954 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.023, allocations: 2.75 kB / 0.7954 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003934/1.027, allocations: 1.498 MB / 0.7968 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.027, allocations: 8.562 kB / 0.7968 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.027, allocations: 12.92 kB / 0.7969 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.027, allocations: 13.5 kB / 0.7969 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.029, allocations: 293.4 kB / 0.7972 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.963e-05/1.029, allocations: 17.56 kB / 0.7972 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.03, allocations: 222.7 kB / 0.7974 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.031, allocations: 49.97 kB / 0.7974 GB, free: 10.19 MB / 0.5919 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.0006967/1.031, allocations: 341.2 kB / 0.7978 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/1.032, allocations: 131.8 kB / 0.7979 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/1.036, allocations: 1.404 MB / 0.7993 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.036, allocations: 8.375 kB / 0.7993 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.036, allocations: 4 kB / 0.7993 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.036, allocations: 4.016 kB / 0.7993 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/1.042, allocations: 2.812 MB / 0.802 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.042, allocations: 5.25 kB / 0.802 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.043, allocations: 223 kB / 0.8022 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/1.043, allocations: 10.59 kB / 0.8022 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-05/1.043, allocations: 32.03 kB / 0.8023 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/1.043, allocations: 9.438 kB / 0.8023 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.043, allocations: 6.375 kB / 0.8023 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/1.049, allocations: 2.248 MB / 0.8045 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008572/1.05, allocations: 293 kB / 0.8048 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/1.05, allocations: 22.97 kB / 0.8048 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.052, allocations: 136.6 kB / 0.8049 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.052, allocations: 67.16 kB / 0.805 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/1.052, allocations: 34.47 kB / 0.805 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001302/1.053, allocations: 0.8552 MB / 0.8058 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.042e-06/1.053, allocations: 0 / 0.8058 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001466/1.055, allocations: 313.6 kB / 0.8061 GB, free: 8.645 MB / 0.5919 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.001502/1.056, allocations: 0.5301 MB / 0.8067 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004192/1.061, allocations: 1.411 MB / 0.808 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.061, allocations: 0 / 0.808 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.062, allocations: 0.6451 MB / 0.8087 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.066, allocations: 0.5928 MB / 0.8093 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/1.072, allocations: 3.04 MB / 0.8122 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/1.073, allocations: 1.168 MB / 0.8134 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/1.074, allocations: 124.5 kB / 0.8135 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of SimCode: time 2.214e-06/1.074, allocations: 0 / 0.8135 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of Templates: time 0.03222/1.106, allocations: 20.34 MB / 0.8333 GB, free: 2.84 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)