Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7051/0.7051, allocations: 132.2 MB / 149 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 103.6 kB / 484.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009801/0.0009802, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1357, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5064/0.6422, allocations: 191.6 MB / 0.8272 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009077/0.6513, allocations: 5.19 MB / 0.8323 GB, free: 14.36 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.6527, allocations: 47.62 kB / 0.8323 GB, free: 14.32 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.6545, allocations: 0.7077 MB / 0.833 GB, free: 13.61 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005979/0.6605, allocations: 2.452 MB / 0.8354 GB, free: 11.14 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.6632, allocations: 1.003 MB / 0.8364 GB, free: 10.15 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.6672, allocations: 3.541 MB / 0.8399 GB, free: 6.605 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6685, allocations: 0.8222 MB / 0.8407 GB, free: 5.773 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.6705, allocations: 1.015 MB / 0.8417 GB, free: 4.754 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.6721, allocations: 0.9962 MB / 0.8426 GB, free: 3.754 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.6723, allocations: 52 kB / 0.8427 GB, free: 3.703 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.6762, allocations: 2.065 MB / 0.8447 GB, free: 1.633 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005387/0.6768, allocations: 414.6 kB / 0.8451 GB, free: 1.227 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.6776, allocations: 0.6214 MB / 0.8457 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.6811, allocations: 2.235 MB / 0.8479 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6811, allocations: 0 / 0.8479 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6811, allocations: 0 / 0.8479 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.6811, allocations: 0 / 0.8479 GB, free: 14.36 MB / 0.5886 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.004726/0.6859, allocations: 1.934 MB / 0.8498 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6859, allocations: 15.97 kB / 0.8498 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.6903, allocations: 0.7005 MB / 0.8505 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.6919, allocations: 0.8903 MB / 0.8513 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.692, allocations: 73.92 kB / 0.8514 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.6922, allocations: 88 kB / 0.8515 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.6953, allocations: 1.461 MB / 0.8529 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6953, allocations: 0 / 0.8529 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.6954, allocations: 39.98 kB / 0.853 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.6955, allocations: 49.98 kB / 0.853 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00418/0.6997, allocations: 1.553 MB / 0.8545 GB, free: 7.379 MB / 0.5886 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.00718/0.7069, allocations: 5.022 MB / 0.8594 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.7102, allocations: 1.181 MB / 0.8606 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.7119, allocations: 0.6663 MB / 0.8612 GB, free: 248 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.7133, allocations: 0.941 MB / 0.8622 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.7152, allocations: 0.7263 MB / 0.8629 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 3.467e-06/0.7152, allocations: 0 / 0.8629 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82): time 0.006019/0.7212, allocations: 1.952 MB / 0.8648 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.7213, allocations: 60.06 kB / 0.8648 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.7228, allocations: 1.267 MB / 0.8661 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.752e-05/0.7229, allocations: 49.7 kB / 0.8661 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.7234, allocations: 0.5755 MB / 0.8667 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.7236, allocations: 280 kB / 0.8669 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.7239, allocations: 186.5 kB / 0.8671 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7241, allocations: 349.8 kB / 0.8675 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.7257, allocations: 0.5484 MB / 0.868 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.7275, allocations: 0.8208 MB / 0.8688 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/0.7309, allocations: 1.34 MB / 0.8701 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.7309, allocations: 4 kB / 0.8701 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004108/0.7351, allocations: 1.519 MB / 0.8716 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.7351, allocations: 8.125 kB / 0.8716 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7351, allocations: 12 kB / 0.8716 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.7352, allocations: 12 kB / 0.8716 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.7366, allocations: 287.6 kB / 0.8719 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.7366, allocations: 19.92 kB / 0.8719 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.738, allocations: 218.6 kB / 0.8721 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.7381, allocations: 55.97 kB / 0.8722 GB, free: 4.582 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005112/0.7387, allocations: 331.7 kB / 0.8725 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.7389, allocations: 134.3 kB / 0.8726 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.7428, allocations: 1.445 MB / 0.874 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7428, allocations: 8 kB / 0.874 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7428, allocations: 4 kB / 0.874 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7428, allocations: 7.922 kB / 0.874 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/0.7487, allocations: 2.857 MB / 0.8768 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.7488, allocations: 4.5 kB / 0.8768 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.7501, allocations: 227.7 kB / 0.8771 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7501, allocations: 8 kB / 0.8771 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/0.7502, allocations: 31.97 kB / 0.8771 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.7502, allocations: 7.938 kB / 0.8771 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7502, allocations: 4 kB / 0.8771 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.761, allocations: 5.581 MB / 0.8826 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.7615, allocations: 307 kB / 0.8828 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.7617, allocations: 23.98 kB / 0.8829 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.7628, allocations: 123.8 kB / 0.883 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.763, allocations: 64.45 kB / 0.8831 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.7631, allocations: 47.95 kB / 0.8831 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009874/0.7641, allocations: 0.8723 MB / 0.8839 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7641, allocations: 0 / 0.8839 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001168/0.7653, allocations: 407.7 kB / 0.8843 GB, free: 7.676 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001172/0.7664, allocations: 0.5325 MB / 0.8849 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003648/0.7701, allocations: 1.3 MB / 0.8861 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7701, allocations: 4.188 kB / 0.8861 GB, free: 6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.7719, allocations: 0.6558 MB / 0.8868 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.7748, allocations: 0.5852 MB / 0.8873 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.7802, allocations: 3.421 MB / 0.8907 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.781, allocations: 1.201 MB / 0.8919 GB, free: 16 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001517/0.7825, allocations: 358.1 kB / 0.8922 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.7829, allocations: 115.4 kB / 0.8923 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.783, allocations: 0 / 0.8923 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.03523/0.8182, allocations: 22.82 MB / 0.9146 GB, free: 8.957 MB / 0.6511 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)