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.006433/0.006433, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001338/0.001339, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8321/0.8321, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001848, allocations: 72.69 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1466, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.56/0.7067, allocations: 193.8 MB / 0.8485 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00926/0.716, allocations: 5.146 MB / 0.8535 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.7174, allocations: 48.06 kB / 0.8536 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.7195, allocations: 0.8092 MB / 0.8544 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.7259, allocations: 2.601 MB / 0.8569 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.7287, allocations: 1.106 MB / 0.858 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.7322, allocations: 2.619 MB / 0.8605 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.7336, allocations: 0.8851 MB / 0.8614 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.7359, allocations: 1.089 MB / 0.8625 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.7375, allocations: 0.9495 MB / 0.8634 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.7378, allocations: 76 kB / 0.8635 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.7415, allocations: 1.785 MB / 0.8652 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.7421, allocations: 430.6 kB / 0.8656 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008837/0.743, allocations: 0.6449 MB / 0.8663 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.7481, allocations: 2.178 MB / 0.8684 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.7481, allocations: 0 / 0.8684 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7481, allocations: 0 / 0.8684 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.7482, allocations: 0 / 0.8684 GB, free: 15.96 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.005341/0.7535, allocations: 1.982 MB / 0.8703 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7536, allocations: 12.03 kB / 0.8703 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.7538, allocations: 143.4 kB / 0.8705 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/0.7577, allocations: 0.6662 MB / 0.8711 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.7595, allocations: 0.9538 MB / 0.872 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.7596, allocations: 66 kB / 0.8721 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.7597, allocations: 91.98 kB / 0.8722 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.7631, allocations: 1.474 MB / 0.8736 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.7632, allocations: 0 / 0.8736 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.7633, allocations: 40 kB / 0.8737 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.7634, allocations: 49.92 kB / 0.8737 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.7678, allocations: 1.522 MB / 0.8752 GB, free: 8.773 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.008019/0.7758, allocations: 5.488 MB / 0.8806 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.7798, allocations: 1.27 MB / 0.8818 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.7816, allocations: 0.6623 MB / 0.8825 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/0.7826, allocations: 0.5773 MB / 0.883 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002008/0.7846, allocations: 0.7081 MB / 0.8837 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.156e-06/0.7846, allocations: 0 / 0.8837 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.006007/0.7906, allocations: 1.883 MB / 0.8855 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.7907, allocations: 67.98 kB / 0.8856 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.7924, allocations: 1.243 MB / 0.8868 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.7925, allocations: 41.7 kB / 0.8869 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.7931, allocations: 0.5916 MB / 0.8874 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.7934, allocations: 293.6 kB / 0.8877 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.7937, allocations: 182.5 kB / 0.8879 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7939, allocations: 341.9 kB / 0.8882 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.7956, allocations: 0.5367 MB / 0.8887 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.7976, allocations: 0.8212 MB / 0.8895 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.8013, allocations: 1.332 MB / 0.8908 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/0.8013, allocations: 4 kB / 0.8909 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004256/0.8056, allocations: 1.495 MB / 0.8923 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.8056, allocations: 8 kB / 0.8923 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.8056, allocations: 8.875 kB / 0.8923 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.8057, allocations: 12 kB / 0.8923 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.8071, allocations: 295.6 kB / 0.8926 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.8071, allocations: 15.94 kB / 0.8926 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8085, allocations: 205.5 kB / 0.8928 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8086, allocations: 51.97 kB / 0.8929 GB, free: 5.98 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.0005671/0.8091, allocations: 339.6 kB / 0.8932 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.8094, allocations: 139.1 kB / 0.8933 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.8135, allocations: 1.413 MB / 0.8947 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8135, allocations: 8 kB / 0.8947 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.8135, allocations: 0 / 0.8947 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.8135, allocations: 7.922 kB / 0.8947 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006086/0.8196, allocations: 2.799 MB / 0.8975 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.8197, allocations: 4 kB / 0.8975 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.8209, allocations: 219.7 kB / 0.8977 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.8209, allocations: 8 kB / 0.8977 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.821, allocations: 27.97 kB / 0.8977 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.821, allocations: 9.125 kB / 0.8977 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.8211, allocations: 11.94 kB / 0.8977 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/0.8269, allocations: 2.252 MB / 0.8999 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.8275, allocations: 303.9 kB / 0.9002 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.8277, allocations: 24.08 kB / 0.9002 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8288, allocations: 119.9 kB / 0.9004 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.829, allocations: 68.34 kB / 0.9004 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/0.8291, allocations: 35.98 kB / 0.9005 GB, free: 14.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001133/0.8302, allocations: 0.8561 MB / 0.9013 GB, free: 13.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8302, allocations: 0 / 0.9013 GB, free: 13.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001011/0.8312, allocations: 315.7 kB / 0.9016 GB, free: 12.85 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.008107/0.8393, allocations: 3.238 MB / 0.9048 GB, free: 9.734 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004038/0.8434, allocations: 1.286 MB / 0.906 GB, free: 8.445 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8434, allocations: 0 / 0.906 GB, free: 8.445 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.8454, allocations: 0.6443 MB / 0.9066 GB, free: 7.801 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.8483, allocations: 0.589 MB / 0.9072 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.8703, allocations: 10.98 MB / 0.9179 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/0.8712, allocations: 1.175 MB / 0.9191 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001252/0.8725, allocations: 341.9 kB / 0.9194 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/0.8733, allocations: 0.4953 MB / 0.9199 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of SimCode: time 9.01e-07/0.8733, allocations: 0 / 0.9199 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/0.9475, allocations: 33.92 MB / 0.953 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.31, allocations: 1.828 kB / 0.953 GB, free: 8.184 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)