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.00156/0.00156, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7152/0.7152, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 60.31 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1609, allocations: 80.2 MB / 0.5802 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4612/0.6222, allocations: 193.8 MB / 0.7695 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009019/0.6313, allocations: 5.135 MB / 0.7745 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.6328, allocations: 47.69 kB / 0.7745 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.6347, allocations: 0.8081 MB / 0.7753 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006553/0.6413, allocations: 2.603 MB / 0.7779 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.644, allocations: 1.11 MB / 0.7789 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.6471, allocations: 2.611 MB / 0.7815 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.6485, allocations: 0.9 MB / 0.7824 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.6503, allocations: 1.078 MB / 0.7834 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.6517, allocations: 0.9417 MB / 0.7843 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.652, allocations: 80 kB / 0.7844 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.6551, allocations: 1.781 MB / 0.7862 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.6556, allocations: 434.6 kB / 0.7866 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008145/0.6565, allocations: 0.6448 MB / 0.7872 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.6596, allocations: 2.138 MB / 0.7893 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6596, allocations: 3.938 kB / 0.7893 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6596, allocations: 4 kB / 0.7893 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.234e-05/0.6597, allocations: 4 kB / 0.7893 GB, free: 12.57 MB / 0.6075 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.005046/0.6647, allocations: 1.915 MB / 0.7912 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6648, allocations: 8.031 kB / 0.7912 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.6649, allocations: 143.5 kB / 0.7913 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/0.669, allocations: 0.657 MB / 0.792 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.6703, allocations: 0.8825 MB / 0.7928 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.6704, allocations: 70 kB / 0.7929 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.6706, allocations: 95.92 kB / 0.793 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.6737, allocations: 1.47 MB / 0.7944 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6737, allocations: 3.938 kB / 0.7944 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.6738, allocations: 32 kB / 0.7944 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/0.6739, allocations: 49.98 kB / 0.7945 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004239/0.6781, allocations: 1.522 MB / 0.796 GB, free: 5.531 MB / 0.6075 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.007205/0.6853, allocations: 5.5 MB / 0.8013 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.6892, allocations: 1.287 MB / 0.8026 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.691, allocations: 0.6546 MB / 0.8032 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/0.6918, allocations: 0.5851 MB / 0.8038 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001899/0.6938, allocations: 0.7074 MB / 0.8045 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.236e-06/0.6938, allocations: 0 / 0.8045 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005809/0.6996, allocations: 1.878 MB / 0.8063 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.6997, allocations: 60.06 kB / 0.8064 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.7012, allocations: 1.242 MB / 0.8076 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/0.7013, allocations: 45.7 kB / 0.8077 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.7017, allocations: 0.5791 MB / 0.8082 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.702, allocations: 268.2 kB / 0.8085 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.7023, allocations: 182.4 kB / 0.8086 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7024, allocations: 345.9 kB / 0.809 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.7042, allocations: 0.5444 MB / 0.8095 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.7061, allocations: 0.8174 MB / 0.8103 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.7096, allocations: 1.332 MB / 0.8116 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.7096, allocations: 96 / 0.8116 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004202/0.7138, allocations: 1.494 MB / 0.8131 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.7139, allocations: 8.875 kB / 0.8131 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7139, allocations: 8 kB / 0.8131 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.7139, allocations: 12 kB / 0.8131 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.7154, allocations: 295.6 kB / 0.8134 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.7154, allocations: 15.94 kB / 0.8134 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.7169, allocations: 206.7 kB / 0.8136 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.717, allocations: 47.97 kB / 0.8136 GB, free: 2.773 MB / 0.6231 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.000559/0.7176, allocations: 341.2 kB / 0.814 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.7179, allocations: 138.2 kB / 0.8141 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.7219, allocations: 1.405 MB / 0.8155 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.722, allocations: 8 kB / 0.8155 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.722, allocations: 0 / 0.8155 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.722, allocations: 3.984 kB / 0.8155 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/0.7281, allocations: 2.803 MB / 0.8182 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.7281, allocations: 4 kB / 0.8182 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.7294, allocations: 223.8 kB / 0.8184 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.7295, allocations: 11.98 kB / 0.8184 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.7296, allocations: 31.92 kB / 0.8185 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.7296, allocations: 15.98 kB / 0.8185 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.7296, allocations: 4 kB / 0.8185 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005668/0.7353, allocations: 2.244 MB / 0.8207 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.7358, allocations: 291.2 kB / 0.821 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.736, allocations: 23.98 kB / 0.821 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7372, allocations: 111.9 kB / 0.8211 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.7373, allocations: 68.36 kB / 0.8212 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.7374, allocations: 35.97 kB / 0.8212 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001035/0.7384, allocations: 0.8522 MB / 0.822 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7385, allocations: 0 / 0.822 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009971/0.7395, allocations: 315.7 kB / 0.8223 GB, free: 9.676 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.00696/0.7464, allocations: 3.227 MB / 0.8255 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004076/0.7505, allocations: 1.403 MB / 0.8268 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7505, allocations: 0 / 0.8268 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.7524, allocations: 0.652 MB / 0.8275 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.7551, allocations: 0.5897 MB / 0.8281 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.7757, allocations: 11.75 MB / 0.8395 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.7765, allocations: 1.171 MB / 0.8407 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001399/0.7779, allocations: 345.9 kB / 0.841 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/0.7786, allocations: 0.4949 MB / 0.8415 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7787, allocations: 0 / 0.8415 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8769/1.656, allocations: 33.55 MB / 0.8743 GB, free: 223 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.29, allocations: 8.734 kB / 0.8743 GB, free: 223 MB / 0.67 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)