Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_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.005339/0.005339, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001285/0.001285, allocations: 193.5 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.94 kB / 0.5852 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1579, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5737/0.7316, allocations: 193.8 MB / 0.8535 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00873/0.7404, allocations: 5.141 MB / 0.8585 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.7419, allocations: 44.88 kB / 0.8585 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.7439, allocations: 0.825 MB / 0.8593 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.7507, allocations: 2.69 MB / 0.862 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.7538, allocations: 1.114 MB / 0.8631 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004064/0.7579, allocations: 2.619 MB / 0.8656 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.7595, allocations: 0.8959 MB / 0.8665 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.7622, allocations: 1.125 MB / 0.8676 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.764, allocations: 0.9495 MB / 0.8685 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.7643, allocations: 76 kB / 0.8686 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.7685, allocations: 1.793 MB / 0.8703 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006912/0.7692, allocations: 434.6 kB / 0.8707 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.7705, allocations: 0.6448 MB / 0.8714 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.7755, allocations: 2.174 MB / 0.8735 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7756, allocations: 3.938 kB / 0.8735 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7756, allocations: 0 / 0.8735 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.522e-05/0.7757, allocations: 0 / 0.8735 GB, free: 9.086 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.006163/0.7819, allocations: 1.986 MB / 0.8754 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7819, allocations: 17.09 kB / 0.8755 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.7822, allocations: 135.4 kB / 0.8756 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004224/0.7864, allocations: 0.6662 MB / 0.8762 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.7885, allocations: 0.9655 MB / 0.8772 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.7886, allocations: 62 kB / 0.8772 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.7889, allocations: 88 kB / 0.8773 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.7926, allocations: 1.468 MB / 0.8788 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.7927, allocations: 11.92 kB / 0.8788 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.7928, allocations: 39.98 kB / 0.8788 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/0.7929, allocations: 53.92 kB / 0.8789 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.7975, allocations: 1.518 MB / 0.8803 GB, free: 1.883 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.0085/0.806, allocations: 5.476 MB / 0.8857 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.8101, allocations: 1.283 MB / 0.8869 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.8119, allocations: 0.6584 MB / 0.8876 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009023/0.8129, allocations: 0.5812 MB / 0.8882 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.815, allocations: 0.7072 MB / 0.8888 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 5.55e-06/0.815, allocations: 0 / 0.8888 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.006021/0.821, allocations: 1.886 MB / 0.8907 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.8211, allocations: 64.05 kB / 0.8907 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.8227, allocations: 1.239 MB / 0.892 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.8229, allocations: 45.7 kB / 0.892 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.8233, allocations: 0.58 MB / 0.8926 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.8236, allocations: 293.6 kB / 0.8928 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.824, allocations: 178.6 kB / 0.893 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8241, allocations: 345.9 kB / 0.8933 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.8258, allocations: 0.5405 MB / 0.8939 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.8277, allocations: 0.8178 MB / 0.8947 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/0.8311, allocations: 1.328 MB / 0.896 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.8311, allocations: 0 / 0.896 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004185/0.8353, allocations: 1.504 MB / 0.8974 GB, free: 15.68 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.8354, allocations: 8 kB / 0.8974 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.8354, allocations: 12.09 kB / 0.8975 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.8354, allocations: 12 kB / 0.8975 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.837, allocations: 295.5 kB / 0.8978 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/0.837, allocations: 15.94 kB / 0.8978 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.8386, allocations: 203.9 kB / 0.898 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.8387, allocations: 51.97 kB / 0.898 GB, free: 15.1 MB / 0.67 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.0005955/0.8393, allocations: 335.6 kB / 0.8983 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.8397, allocations: 143.1 kB / 0.8985 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.8437, allocations: 1.409 MB / 0.8998 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.8438, allocations: 8 kB / 0.8999 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.8438, allocations: 96 / 0.8999 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.8438, allocations: 9.047 kB / 0.8999 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.8503, allocations: 2.807 MB / 0.9026 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8503, allocations: 4 kB / 0.9026 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.8517, allocations: 220.1 kB / 0.9028 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.8517, allocations: 8 kB / 0.9028 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.8519, allocations: 35.95 kB / 0.9029 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.8519, allocations: 13.5 kB / 0.9029 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8519, allocations: 4.875 kB / 0.9029 GB, free: 9.996 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.858, allocations: 2.249 MB / 0.9051 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.8587, allocations: 311.9 kB / 0.9054 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.8591, allocations: 27.98 kB / 0.9054 GB, free: 7.336 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.8603, allocations: 103.9 kB / 0.9055 GB, free: 7.234 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8605, allocations: 68.36 kB / 0.9056 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/0.8606, allocations: 35.98 kB / 0.9056 GB, free: 7.133 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001162/0.8618, allocations: 0.8561 MB / 0.9064 GB, free: 6.273 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8618, allocations: 0 / 0.9064 GB, free: 6.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001148/0.8629, allocations: 311.7 kB / 0.9067 GB, free: 5.969 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.007179/0.8701, allocations: 3.241 MB / 0.9099 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003923/0.8741, allocations: 1.29 MB / 0.9112 GB, free: 1.535 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/0.8741, allocations: 4.25 kB / 0.9112 GB, free: 1.531 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.876, allocations: 0.6362 MB / 0.9118 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.879, allocations: 0.5918 MB / 0.9124 GB, free: 316 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/0.9006, allocations: 10.98 MB / 0.9231 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000941/0.9016, allocations: 1.167 MB / 0.9242 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001348/0.9029, allocations: 349.9 kB / 0.9245 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.9038, allocations: 0.4953 MB / 0.925 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of SimCode: time 2.624e-06/0.9038, allocations: 0 / 0.925 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/0.9695, allocations: 33.93 MB / 0.9582 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.12, allocations: 0 / 0.9582 GB, free: 1.27 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)