Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_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.005246/0.005246, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001331/0.001331, allocations: 192.9 kB / 16.68 MB, free: 5.969 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.309/1.309, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 278.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 95.86 kB / 0.681 GB, free: 7.426 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4316, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2055/0.6371, allocations: 193.8 MB / 0.9552 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4205/1.058, allocations: 5.143 MB / 0.9602 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/1.059, allocations: 49.41 kB / 0.9603 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/1.062, allocations: 0.8297 MB / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006693/1.068, allocations: 2.687 MB / 0.9637 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/1.071, allocations: 1.11 MB / 0.9648 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003546/1.075, allocations: 2.62 MB / 0.9673 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/1.076, allocations: 0.8965 MB / 0.9682 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/1.078, allocations: 1.118 MB / 0.9693 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.08, allocations: 0.9493 MB / 0.9702 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/1.08, allocations: 79.09 kB / 0.9703 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/1.083, allocations: 1.793 MB / 0.9721 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/1.084, allocations: 437.7 kB / 0.9725 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000741/1.084, allocations: 0.6431 MB / 0.9731 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/1.088, allocations: 2.175 MB / 0.9752 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.088, allocations: 5.562 kB / 0.9752 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.674e-06/1.088, allocations: 0 / 0.9752 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.995e-05/1.088, allocations: 0.9062 kB / 0.9752 GB, free: 1.504 MB / 0.7169 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.004643/1.092, allocations: 1.981 MB / 0.9772 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.092, allocations: 10.78 kB / 0.9772 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/1.093, allocations: 142.6 kB / 0.9773 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/1.096, allocations: 0.6658 MB / 0.978 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.098, allocations: 0.9542 MB / 0.9789 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/1.098, allocations: 70.5 kB / 0.979 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/1.098, allocations: 85.44 kB / 0.9791 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/1.101, allocations: 1.476 MB / 0.9805 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/1.101, allocations: 3.094 kB / 0.9805 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.781e-05/1.101, allocations: 39.52 kB / 0.9805 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/1.101, allocations: 48.52 kB / 0.9806 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/1.105, allocations: 1.516 MB / 0.9821 GB, free: 15.75 MB / 0.7325 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.00666/1.112, allocations: 5.49 MB / 0.9874 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/1.115, allocations: 1.276 MB / 0.9887 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.117, allocations: 0.6637 MB / 0.9893 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008295/1.117, allocations: 0.5774 MB / 0.9899 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/1.119, allocations: 0.7085 MB / 0.9906 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 3.758e-06/1.119, allocations: 0 / 0.9906 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.005224/1.124, allocations: 1.892 MB / 0.9924 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.124, allocations: 62.97 kB / 0.9925 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.126, allocations: 1.237 MB / 0.9937 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.126, allocations: 44.08 kB / 0.9937 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/1.126, allocations: 0.5912 MB / 0.9943 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/1.126, allocations: 282 kB / 0.9946 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/1.127, allocations: 189.1 kB / 0.9948 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.127, allocations: 348.4 kB / 0.9951 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.128, allocations: 0.533 MB / 0.9956 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/1.13, allocations: 0.825 MB / 0.9964 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/1.133, allocations: 1.329 MB / 0.9977 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.133, allocations: 3.219 kB / 0.9977 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003667/1.137, allocations: 1.499 MB / 0.9992 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.137, allocations: 14.47 kB / 0.9992 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.137, allocations: 4.844 kB / 0.9992 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.137, allocations: 13.66 kB / 0.9992 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.138, allocations: 294 kB / 0.9995 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.138, allocations: 16.53 kB / 0.9995 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.14, allocations: 199.6 kB / 0.9997 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/1.14, allocations: 47.88 kB / 0.9998 GB, free: 10.21 MB / 0.7325 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.0005428/1.14, allocations: 341.8 kB / 1 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.141, allocations: 148 kB / 1 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/1.144, allocations: 1.405 MB / 1.002 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.144, allocations: 7.375 kB / 1.002 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.144, allocations: 3.094 kB / 1.002 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/1.144, allocations: 3 kB / 1.002 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/1.149, allocations: 2.799 MB / 1.004 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.149, allocations: 1.875 kB / 1.004 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.151, allocations: 222.7 kB / 1.005 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.151, allocations: 12.25 kB / 1.005 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/1.151, allocations: 27.88 kB / 1.005 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.151, allocations: 13 kB / 1.005 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.151, allocations: 10.47 kB / 1.005 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/1.156, allocations: 2.254 MB / 1.007 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/1.156, allocations: 304 kB / 1.007 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/1.156, allocations: 30.53 kB / 1.007 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.157, allocations: 111.5 kB / 1.007 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.158, allocations: 62.25 kB / 1.007 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/1.158, allocations: 37.8 kB / 1.007 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000951/1.159, allocations: 0.8507 MB / 1.008 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.5e-07/1.159, allocations: 0 / 1.008 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009704/1.16, allocations: 319.5 kB / 1.008 GB, free: 8.668 MB / 0.7325 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.006329/1.166, allocations: 3.223 MB / 1.012 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003713/1.17, allocations: 1.292 MB / 1.013 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.17, allocations: 0 / 1.013 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.171, allocations: 0.6458 MB / 1.014 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.174, allocations: 0.5984 MB / 1.014 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.192, allocations: 10.98 MB / 1.025 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.193, allocations: 1.175 MB / 1.026 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001203/1.194, allocations: 349.1 kB / 1.026 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/1.195, allocations: 0.49 MB / 1.027 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.195, allocations: 0 / 1.027 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/1.258, allocations: 33.95 MB / 1.06 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.679/10.94, allocations: 15.12 kB / 1.06 GB, free: 1.703 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)