Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008468/0.0008471, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005926/0.005926, allocations: 169 kB / 16.26 MB, free: 6.66 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5075, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2424/0.75, allocations: 189 MB / 0.7682 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009726/0.7598, allocations: 5.146 MB / 0.7733 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.7612, allocations: 43.69 kB / 0.7733 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.7632, allocations: 0.7077 MB / 0.774 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.7699, allocations: 2.455 MB / 0.7764 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.7732, allocations: 0.9953 MB / 0.7774 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004856/0.7781, allocations: 3.611 MB / 0.7809 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.78, allocations: 0.8591 MB / 0.7817 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.7826, allocations: 0.9958 MB / 0.7827 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.7847, allocations: 1 MB / 0.7837 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.7851, allocations: 48 kB / 0.7837 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.7897, allocations: 2.073 MB / 0.7857 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006875/0.7904, allocations: 410.6 kB / 0.7861 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.7916, allocations: 0.6504 MB / 0.7868 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.7957, allocations: 2.242 MB / 0.789 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7957, allocations: 0 / 0.789 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7957, allocations: 0 / 0.789 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.7958, allocations: 4 kB / 0.789 GB, free: 13.51 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005549/0.8013, allocations: 1.693 MB / 0.7906 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.8014, allocations: 12.03 kB / 0.7906 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.8074, allocations: 0.9268 MB / 0.7915 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.8099, allocations: 0.9136 MB / 0.7924 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.81, allocations: 66 kB / 0.7925 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.8104, allocations: 88 kB / 0.7926 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/0.815, allocations: 1.587 MB / 0.7941 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.8151, allocations: 0 / 0.7941 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.8152, allocations: 32 kB / 0.7942 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.8153, allocations: 49.98 kB / 0.7942 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005778/0.8211, allocations: 1.85 MB / 0.796 GB, free: 6.137 MB / 0.6231 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.009563/0.8307, allocations: 4.75 MB / 0.8006 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.8353, allocations: 1.599 MB / 0.8022 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.8377, allocations: 0.8517 MB / 0.803 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.8391, allocations: 0.9569 MB / 0.804 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00278/0.842, allocations: 0.9105 MB / 0.8049 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 4.538e-06/0.842, allocations: 0 / 0.8049 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.0082/0.8502, allocations: 2.447 MB / 0.8072 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.8503, allocations: 64.41 kB / 0.8073 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.8519, allocations: 1.201 MB / 0.8085 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.852, allocations: 45.7 kB / 0.8085 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.8525, allocations: 0.537 MB / 0.8091 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.8529, allocations: 327.3 kB / 0.8094 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.853, allocations: 81.67 kB / 0.8094 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8532, allocations: 345.9 kB / 0.8098 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.8554, allocations: 0.6967 MB / 0.8105 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.8579, allocations: 0.9151 MB / 0.8113 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.8624, allocations: 1.546 MB / 0.8129 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.8625, allocations: 0 / 0.8129 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005256/0.8677, allocations: 1.768 MB / 0.8146 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.8678, allocations: 8.438 kB / 0.8146 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.8678, allocations: 8 kB / 0.8146 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.8678, allocations: 8 kB / 0.8146 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.8697, allocations: 343.5 kB / 0.8149 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.051e-05/0.8697, allocations: 15.98 kB / 0.8149 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.8717, allocations: 250.7 kB / 0.8152 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.8719, allocations: 47.98 kB / 0.8152 GB, free: 1.828 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000796/0.8727, allocations: 339.7 kB / 0.8156 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/0.8731, allocations: 134.3 kB / 0.8157 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3548/1.228, allocations: 1.792 MB / 0.8174 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.228, allocations: 13.62 kB / 0.8174 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.228, allocations: 0 / 0.8174 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/1.228, allocations: 5.656 kB / 0.8175 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00922/1.237, allocations: 3.32 MB / 0.8207 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.237, allocations: 3.562 kB / 0.8207 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/1.239, allocations: 296.5 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/1.239, allocations: 7.625 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.239, allocations: 32.72 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/1.239, allocations: 12.16 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/1.239, allocations: 5.172 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/1.248, allocations: 2.836 MB / 0.8238 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007361/1.248, allocations: 342.5 kB / 0.8241 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.249, allocations: 24.14 kB / 0.8242 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.25, allocations: 172.9 kB / 0.8243 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.251, allocations: 68.81 kB / 0.8244 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.251, allocations: 42.45 kB / 0.8244 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00136/1.252, allocations: 0.8333 MB / 0.8252 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/1.252, allocations: 0 / 0.8252 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001151/1.253, allocations: 345.6 kB / 0.8256 GB, free: 217.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001237/1.254, allocations: 0.5339 MB / 0.8261 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005094/1.26, allocations: 1.62 MB / 0.8277 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.26, allocations: 3.844 kB / 0.8277 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/1.262, allocations: 0.833 MB / 0.8285 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/1.266, allocations: 0.5923 MB / 0.8291 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/1.272, allocations: 3.517 MB / 0.8325 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/1.272, allocations: 1.183 MB / 0.8337 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001669/1.274, allocations: 360.8 kB / 0.834 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/1.275, allocations: 113.5 kB / 0.8341 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/1.275, allocations: 4 kB / 0.8341 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.03545/1.31, allocations: 22.57 MB / 0.8562 GB, free: 197.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)