Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001154/0.001154, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.62 kB / 0.5013 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3585, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1907/0.5492, allocations: 191.3 MB / 0.7665 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008359/0.5576, allocations: 5.113 MB / 0.7715 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.5589, allocations: 47.62 kB / 0.7715 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.5608, allocations: 0.7312 MB / 0.7723 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006119/0.567, allocations: 2.44 MB / 0.7746 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.5696, allocations: 1.013 MB / 0.7756 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.5727, allocations: 2.629 MB / 0.7782 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5741, allocations: 0.9 MB / 0.7791 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.576, allocations: 1.113 MB / 0.7802 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.5774, allocations: 1.008 MB / 0.7811 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.5776, allocations: 76 kB / 0.7812 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.5805, allocations: 1.851 MB / 0.783 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.581, allocations: 442.5 kB / 0.7834 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007411/0.5817, allocations: 0.6449 MB / 0.7841 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.5846, allocations: 2.262 MB / 0.7863 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5846, allocations: 11.98 kB / 0.7863 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5846, allocations: 0 / 0.7863 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.5846, allocations: 0 / 0.7863 GB, free: 13.41 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004457/0.5891, allocations: 1.926 MB / 0.7882 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5892, allocations: 12.03 kB / 0.7882 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.5893, allocations: 143.4 kB / 0.7883 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/0.5932, allocations: 0.6537 MB / 0.789 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.5943, allocations: 0.8903 MB / 0.7898 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.5944, allocations: 69.94 kB / 0.7899 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5946, allocations: 87.98 kB / 0.79 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.5975, allocations: 1.47 MB / 0.7914 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5976, allocations: 0 / 0.7914 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.5977, allocations: 36 kB / 0.7914 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.5977, allocations: 57.92 kB / 0.7915 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.6016, allocations: 1.518 MB / 0.793 GB, free: 6.348 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.006361/0.608, allocations: 5.471 MB / 0.7983 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.6115, allocations: 1.285 MB / 0.7996 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.6132, allocations: 0.6622 MB / 0.8002 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008044/0.614, allocations: 0.5773 MB / 0.8008 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.6158, allocations: 0.7107 MB / 0.8015 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 3.256e-06/0.6158, allocations: 0 / 0.8015 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.00544/0.6213, allocations: 1.87 MB / 0.8033 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6213, allocations: 71.98 kB / 0.8034 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.6226, allocations: 1.235 MB / 0.8046 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.6227, allocations: 45.7 kB / 0.8046 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.6231, allocations: 0.5792 MB / 0.8052 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.6233, allocations: 288 kB / 0.8055 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.6236, allocations: 178.5 kB / 0.8056 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6237, allocations: 341.9 kB / 0.806 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.6253, allocations: 0.5406 MB / 0.8065 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.6271, allocations: 0.8174 MB / 0.8073 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.6302, allocations: 1.328 MB / 0.8086 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.6303, allocations: 7.938 kB / 0.8086 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003683/0.6339, allocations: 1.495 MB / 0.8101 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.634, allocations: 10.03 kB / 0.8101 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.634, allocations: 8 kB / 0.8101 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.634, allocations: 12 kB / 0.8101 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.6354, allocations: 299.9 kB / 0.8104 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.6355, allocations: 19.88 kB / 0.8104 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.6368, allocations: 214.7 kB / 0.8106 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/0.6369, allocations: 51.97 kB / 0.8106 GB, free: 3.578 MB / 0.6387 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.0004764/0.6373, allocations: 339.6 kB / 0.811 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.6375, allocations: 134.3 kB / 0.8111 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.6413, allocations: 1.412 MB / 0.8125 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6413, allocations: 8 kB / 0.8125 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6413, allocations: 0 / 0.8125 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.6414, allocations: 3.984 kB / 0.8125 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2218/0.8631, allocations: 2.794 MB / 0.8152 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.8632, allocations: 3.812 kB / 0.8152 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.8644, allocations: 223.9 kB / 0.8154 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.8645, allocations: 6.625 kB / 0.8154 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.8645, allocations: 30.72 kB / 0.8155 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.8646, allocations: 14.44 kB / 0.8155 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.8646, allocations: 6.781 kB / 0.8155 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.8698, allocations: 2.247 MB / 0.8177 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.8703, allocations: 292.9 kB / 0.818 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.8705, allocations: 22.56 kB / 0.818 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.8716, allocations: 129 kB / 0.8181 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8718, allocations: 65.64 kB / 0.8182 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-05/0.8719, allocations: 35.05 kB / 0.8182 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001048/0.8729, allocations: 0.8522 MB / 0.819 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8729, allocations: 0 / 0.819 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009708/0.8739, allocations: 316 kB / 0.8193 GB, free: 218.5 MB / 0.6387 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.006648/0.8806, allocations: 3.231 MB / 0.8225 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003852/0.8844, allocations: 1.407 MB / 0.8239 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.8844, allocations: 1.438 kB / 0.8239 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.8861, allocations: 0.6408 MB / 0.8245 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.002436/0.8886, allocations: 0.5974 MB / 0.8251 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.9061, allocations: 12.11 MB / 0.8369 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.9066, allocations: 1.165 MB / 0.838 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00138/0.908, allocations: 348.3 kB / 0.8384 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.9086, allocations: 0.4967 MB / 0.8389 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/0.9086, allocations: 1 kB / 0.8389 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.9567, allocations: 33.25 MB / 0.8713 GB, free: 179.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.9569, allocations: 253.3 kB / 0.8716 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.456, allocations: 0 / 0.8716 GB, free: 179.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)