Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.0008281/0.000828, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009061/0.0009062, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 426.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004526, allocations: 12.62 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 82.3 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5799/0.7774, allocations: 176.3 MB / 0.7596 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008829/0.7863, allocations: 4.891 MB / 0.7644 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.7878, allocations: 39.69 kB / 0.7645 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.7895, allocations: 0.6218 MB / 0.7651 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.7949, allocations: 1.882 MB / 0.7669 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.7975, allocations: 0.9093 MB / 0.7678 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.8015, allocations: 3.069 MB / 0.7708 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.8028, allocations: 0.7675 MB / 0.7715 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.8049, allocations: 0.9999 MB / 0.7725 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.8062, allocations: 0.9535 MB / 0.7734 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.8063, allocations: 51.94 kB / 0.7735 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.809, allocations: 0.9353 MB / 0.7744 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.8094, allocations: 402.7 kB / 0.7748 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.8098, allocations: 272.9 kB / 0.775 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.8116, allocations: 1.383 MB / 0.7764 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8116, allocations: 0 / 0.7764 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8116, allocations: 4 kB / 0.7764 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.8117, allocations: 0 / 0.7764 GB, free: 11.41 MB / 0.5919 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.004447/0.8161, allocations: 1.718 MB / 0.7781 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8162, allocations: 8.031 kB / 0.7781 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.8164, allocations: 139.6 kB / 0.7782 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.8212, allocations: 0.9346 MB / 0.7791 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.8228, allocations: 0.8639 MB / 0.78 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.8229, allocations: 70 kB / 0.78 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.8231, allocations: 91.98 kB / 0.7801 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/0.8266, allocations: 1.571 MB / 0.7817 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.8266, allocations: 4 kB / 0.7817 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.8267, allocations: 43.92 kB / 0.7817 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.8268, allocations: 49.94 kB / 0.7818 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/0.8315, allocations: 1.834 MB / 0.7836 GB, free: 3.934 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.007624/0.8391, allocations: 4.751 MB / 0.7882 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/0.8431, allocations: 1.6 MB / 0.7898 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.8452, allocations: 0.843 MB / 0.7906 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.8467, allocations: 0.9647 MB / 0.7915 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/0.849, allocations: 0.895 MB / 0.7924 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.427e-06/0.849, allocations: 4 kB / 0.7924 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007073/0.8561, allocations: 2.443 MB / 0.7948 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.8562, allocations: 60.41 kB / 0.7948 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.8579, allocations: 1.189 MB / 0.796 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.858, allocations: 45.7 kB / 0.796 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.8585, allocations: 0.5448 MB / 0.7966 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.8589, allocations: 327.3 kB / 0.7969 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.8589, allocations: 23.94 kB / 0.7969 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8591, allocations: 341.9 kB / 0.7972 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.8611, allocations: 0.6928 MB / 0.7979 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.8632, allocations: 0.9035 MB / 0.7988 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.8652, allocations: 0.725 MB / 0.7995 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.8652, allocations: 4 kB / 0.7995 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004687/0.8699, allocations: 1.764 MB / 0.8012 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.87, allocations: 8 kB / 0.8012 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.87, allocations: 4 kB / 0.8012 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.8701, allocations: 11.98 kB / 0.8013 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.8717, allocations: 343.7 kB / 0.8016 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.8718, allocations: 8 kB / 0.8016 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.8735, allocations: 250.8 kB / 0.8018 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.8736, allocations: 47.97 kB / 0.8019 GB, free: 0.6211 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006559/0.8743, allocations: 332.3 kB / 0.8022 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.8745, allocations: 142.3 kB / 0.8023 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/0.8794, allocations: 1.798 MB / 0.8041 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8794, allocations: 8 kB / 0.8041 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8794, allocations: 0 / 0.8041 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.8794, allocations: 3.984 kB / 0.8041 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.8867, allocations: 3.332 MB / 0.8073 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8867, allocations: 8.094 kB / 0.8074 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.8883, allocations: 283.5 kB / 0.8076 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.8884, allocations: 15.12 kB / 0.8076 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.8885, allocations: 40.06 kB / 0.8077 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.8885, allocations: 7.938 kB / 0.8077 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.8885, allocations: 15.92 kB / 0.8077 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/0.8954, allocations: 2.824 MB / 0.8105 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/0.8962, allocations: 323.2 kB / 0.8108 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.8965, allocations: 28 kB / 0.8108 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.8978, allocations: 179.7 kB / 0.811 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.898, allocations: 72.45 kB / 0.811 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/0.8981, allocations: 39.97 kB / 0.8111 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001166/0.8992, allocations: 0.8197 MB / 0.8119 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8992, allocations: 4 kB / 0.8119 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001274/0.9005, allocations: 343.6 kB / 0.8122 GB, free: 5.832 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008455/0.909, allocations: 3.807 MB / 0.8159 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004525/0.9136, allocations: 1.611 MB / 0.8175 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.9136, allocations: 0 / 0.8175 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.9159, allocations: 0.8321 MB / 0.8183 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.919, allocations: 0.5941 MB / 0.8189 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/0.9399, allocations: 9.522 MB / 0.8282 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/0.9408, allocations: 1.187 MB / 0.8293 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001795/0.9426, allocations: 362 kB / 0.8297 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008474/0.9435, allocations: 0.4992 MB / 0.8302 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of SimCode: time 1.774e-06/0.9435, allocations: 0 / 0.8302 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06391/1.007, allocations: 33.73 MB / 0.8631 GB, free: 1.773 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.008, allocations: 223.9 kB / 0.8633 GB, free: 1.535 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.738, allocations: 0 / 0.8633 GB, free: 1.535 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: