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.01443/0.01443, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.002778/0.002778, allocations: 194.4 kB / 16.67 MB, free: 5.973 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.135/2.135, 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.28/1.28, allocations: 132.2 MB / 422.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 62.67 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2908, allocations: 80.21 MB / 0.6592 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 1.032/1.323, allocations: 193.8 MB / 0.8485 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01553/1.338, allocations: 5.138 MB / 0.8535 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/1.341, allocations: 51.06 kB / 0.8536 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003696/1.345, allocations: 0.8055 MB / 0.8544 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/1.358, allocations: 2.604 MB / 0.8569 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005268/1.363, allocations: 1.11 MB / 0.858 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005871/1.369, allocations: 2.614 MB / 0.8605 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/1.371, allocations: 0.8933 MB / 0.8614 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/1.375, allocations: 1.116 MB / 0.8625 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/1.378, allocations: 0.9417 MB / 0.8634 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005267/1.379, allocations: 80 kB / 0.8635 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006408/1.385, allocations: 1.781 MB / 0.8652 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/1.386, allocations: 438.6 kB / 0.8656 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/1.388, allocations: 0.6449 MB / 0.8663 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006919/1.395, allocations: 2.169 MB / 0.8684 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.395, allocations: 0 / 0.8684 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.514e-06/1.395, allocations: 0 / 0.8684 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.576e-05/1.395, allocations: 0 / 0.8684 GB, free: 15.91 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.009528/1.405, allocations: 1.938 MB / 0.8703 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.223e-05/1.405, allocations: 12.03 kB / 0.8703 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004241/1.406, allocations: 137.4 kB / 0.8704 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/1.413, allocations: 0.6615 MB / 0.8711 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/1.416, allocations: 0.9371 MB / 0.872 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.416, allocations: 70 kB / 0.8721 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/1.417, allocations: 91.98 kB / 0.8721 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006605/1.424, allocations: 1.47 MB / 0.8736 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/1.424, allocations: 4 kB / 0.8736 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/1.424, allocations: 36 kB / 0.8736 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/1.424, allocations: 49.92 kB / 0.8737 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007344/1.431, allocations: 1.522 MB / 0.8752 GB, free: 8.793 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.01405/1.445, allocations: 5.471 MB / 0.8805 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/1.452, allocations: 1.278 MB / 0.8817 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/1.455, allocations: 0.6624 MB / 0.8824 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/1.457, allocations: 0.5773 MB / 0.883 GB, free: 404 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003288/1.46, allocations: 0.703 MB / 0.8836 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 5.811e-06/1.46, allocations: 0 / 0.8836 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.0101/1.47, allocations: 1.878 MB / 0.8855 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/1.47, allocations: 72 kB / 0.8855 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/1.473, allocations: 1.235 MB / 0.8867 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.473, allocations: 45.7 kB / 0.8868 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008446/1.474, allocations: 0.5791 MB / 0.8874 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/1.475, allocations: 284.1 kB / 0.8876 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005698/1.475, allocations: 178.5 kB / 0.8878 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000226/1.476, allocations: 341.9 kB / 0.8881 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/1.478, allocations: 0.5367 MB / 0.8886 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/1.481, allocations: 0.8212 MB / 0.8895 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005755/1.487, allocations: 1.333 MB / 0.8908 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.487, allocations: 0 / 0.8908 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006904/1.494, allocations: 1.495 MB / 0.8922 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/1.494, allocations: 11.94 kB / 0.8922 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.494, allocations: 8 kB / 0.8922 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/1.494, allocations: 12 kB / 0.8922 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/1.497, allocations: 300.2 kB / 0.8925 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/1.497, allocations: 12 kB / 0.8925 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.499, allocations: 195.5 kB / 0.8927 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/1.5, allocations: 51.97 kB / 0.8928 GB, free: 6.047 MB / 0.6544 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.001088/1.501, allocations: 340.7 kB / 0.8931 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/1.501, allocations: 138.2 kB / 0.8932 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00649/1.508, allocations: 1.413 MB / 0.8946 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.508, allocations: 12 kB / 0.8946 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.508, allocations: 0 / 0.8946 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.508, allocations: 3.984 kB / 0.8946 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.518, allocations: 2.791 MB / 0.8974 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.518, allocations: 12.06 kB / 0.8974 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.52, allocations: 223.7 kB / 0.8976 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.312e-05/1.52, allocations: 8 kB / 0.8976 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.521, allocations: 27.97 kB / 0.8976 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/1.521, allocations: 11.98 kB / 0.8976 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/1.521, allocations: 9.891 kB / 0.8976 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009681/1.53, allocations: 2.244 MB / 0.8998 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.532, allocations: 291.3 kB / 0.9001 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/1.533, allocations: 23.98 kB / 0.9001 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/1.535, allocations: 115.9 kB / 0.9002 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/1.535, allocations: 64.36 kB / 0.9003 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.535, allocations: 39.97 kB / 0.9003 GB, free: 14.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002731/1.538, allocations: 0.8562 MB / 0.9012 GB, free: 13.24 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.817e-06/1.538, allocations: 0 / 0.9012 GB, free: 13.24 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002401/1.541, allocations: 323.5 kB / 0.9015 GB, free: 12.93 MB / 0.67 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.01249/1.553, allocations: 3.224 MB / 0.9046 GB, free: 9.824 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006666/1.56, allocations: 1.29 MB / 0.9059 GB, free: 8.531 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.56, allocations: 0 / 0.9059 GB, free: 8.531 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/1.563, allocations: 0.6404 MB / 0.9065 GB, free: 7.891 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.569, allocations: 0.5875 MB / 0.9071 GB, free: 7.324 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03887/1.608, allocations: 10.94 MB / 0.9178 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.61, allocations: 1.173 MB / 0.9189 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002581/1.612, allocations: 345.9 kB / 0.9192 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.613, allocations: 499.2 kB / 0.9197 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of SimCode: time 1.543e-06/1.614, allocations: 0 / 0.9197 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.725, allocations: 34.45 MB / 0.9534 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/18.43, allocations: 4.625 kB / 0.9534 GB, free: 7.793 MB / 0.7169 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)