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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_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.01232/0.01232, allocations: 103.6 kB / 15.73 MB, free: 6.043 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.002563/0.002562, allocations: 189 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.059/2.059, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.263/1.263, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 65.53 kB / 0.5809 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 80.22 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.014/1.262, allocations: 193.8 MB / 0.8485 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01211/1.274, allocations: 5.139 MB / 0.8535 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/1.276, allocations: 51.25 kB / 0.8536 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/1.279, allocations: 0.8059 MB / 0.8543 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00952/1.289, allocations: 2.6 MB / 0.8569 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/1.293, allocations: 1.119 MB / 0.858 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005534/1.298, allocations: 2.679 MB / 0.8606 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/1.301, allocations: 0.9455 MB / 0.8615 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/1.304, allocations: 1.133 MB / 0.8626 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/1.307, allocations: 0.9885 MB / 0.8636 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005491/1.307, allocations: 88 kB / 0.8637 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005317/1.313, allocations: 1.796 MB / 0.8654 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009615/1.314, allocations: 450.6 kB / 0.8659 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/1.316, allocations: 0.6604 MB / 0.8665 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008126/1.324, allocations: 2.238 MB / 0.8687 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.385e-05/1.324, allocations: 0 / 0.8687 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.797e-06/1.324, allocations: 0 / 0.8687 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.721e-05/1.324, allocations: 0 / 0.8687 GB, free: 15.6 MB / 0.6387 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.01164/1.336, allocations: 1.961 MB / 0.8706 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.017e-05/1.336, allocations: 8.031 kB / 0.8706 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003462/1.336, allocations: 140.5 kB / 0.8707 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009887/1.346, allocations: 0.8916 MB / 0.8716 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/1.349, allocations: 0.9761 MB / 0.8726 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/1.35, allocations: 66 kB / 0.8726 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/1.35, allocations: 95.89 kB / 0.8727 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/1.357, allocations: 1.587 MB / 0.8743 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/1.357, allocations: 0 / 0.8743 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/1.357, allocations: 32 kB / 0.8743 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/1.357, allocations: 49.97 kB / 0.8743 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00912/1.366, allocations: 1.856 MB / 0.8762 GB, free: 7.789 MB / 0.6387 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.01422/1.38, allocations: 4.726 MB / 0.8808 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007277/1.388, allocations: 1.569 MB / 0.8823 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/1.391, allocations: 0.8557 MB / 0.8831 GB, free: 404 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00187/1.393, allocations: 0.9413 MB / 0.8841 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004407/1.398, allocations: 0.915 MB / 0.885 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 8.696e-06/1.398, allocations: 0 / 0.885 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.01233/1.41, allocations: 2.454 MB / 0.8874 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/1.41, allocations: 64.41 kB / 0.8874 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/1.413, allocations: 1.193 MB / 0.8886 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003696/1.413, allocations: 49.7 kB / 0.8886 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000678/1.414, allocations: 0.5408 MB / 0.8892 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/1.414, allocations: 323.4 kB / 0.8895 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005586/1.415, allocations: 190.6 kB / 0.8896 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002046/1.415, allocations: 341.9 kB / 0.89 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/1.419, allocations: 0.7005 MB / 0.8907 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/1.422, allocations: 0.9074 MB / 0.8915 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006602/1.429, allocations: 1.554 MB / 0.8931 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.429, allocations: 4 kB / 0.8931 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007637/1.437, allocations: 1.784 MB / 0.8948 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.437, allocations: 4 kB / 0.8948 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/1.437, allocations: 4.438 kB / 0.8948 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-05/1.437, allocations: 16 kB / 0.8948 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/1.44, allocations: 331.5 kB / 0.8951 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/1.44, allocations: 15.88 kB / 0.8952 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.443, allocations: 247.4 kB / 0.8954 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/1.443, allocations: 55.91 kB / 0.8954 GB, free: 3.398 MB / 0.6544 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.001365/1.444, allocations: 339 kB / 0.8958 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/1.445, allocations: 130.4 kB / 0.8959 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008122/1.453, allocations: 1.807 MB / 0.8977 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.453, allocations: 11.98 kB / 0.8977 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.453, allocations: 0 / 0.8977 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/1.453, allocations: 3.984 kB / 0.8977 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.466, allocations: 3.32 MB / 0.9009 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/1.466, allocations: 8.5 kB / 0.9009 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.469, allocations: 287.6 kB / 0.9012 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-05/1.469, allocations: 8 kB / 0.9012 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/1.469, allocations: 35.95 kB / 0.9012 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.967e-05/1.469, allocations: 15.88 kB / 0.9013 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/1.469, allocations: 4 kB / 0.9013 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.481, allocations: 2.847 MB / 0.904 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.483, allocations: 323.2 kB / 0.9043 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/1.483, allocations: 20 kB / 0.9044 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.485, allocations: 159.8 kB / 0.9045 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/1.486, allocations: 76.45 kB / 0.9046 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.486, allocations: 39.97 kB / 0.9046 GB, free: 9.793 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002154/1.488, allocations: 0.8353 MB / 0.9054 GB, free: 8.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/1.488, allocations: 0 / 0.9054 GB, free: 8.953 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002118/1.49, allocations: 335.6 kB / 0.9058 GB, free: 8.625 MB / 0.67 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.01426/1.505, allocations: 3.824 MB / 0.9095 GB, free: 4.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007427/1.512, allocations: 1.634 MB / 0.9111 GB, free: 3.289 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/1.512, allocations: 4.25 kB / 0.9111 GB, free: 3.285 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003736/1.516, allocations: 0.8358 MB / 0.9119 GB, free: 2.449 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/1.521, allocations: 0.611 MB / 0.9125 GB, free: 1.863 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/1.559, allocations: 12.04 MB / 0.9243 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.561, allocations: 1.189 MB / 0.9254 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002083/1.563, allocations: 362 kB / 0.9258 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.564, allocations: 0.5032 MB / 0.9263 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/1.564, allocations: 0 / 0.9263 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.676, allocations: 36.24 MB / 0.9617 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.44, allocations: 4 kB / 0.9617 GB, free: 15.46 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)