Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_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.001165/0.001165, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 196.4 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 71.34 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2436, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6667/0.9103, allocations: 193.9 MB / 0.9729 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.921, allocations: 4.989 MB / 0.9778 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.9234, allocations: 47.59 kB / 0.9779 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.9263, allocations: 0.8172 MB / 0.9787 GB, free: 15.02 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008924/0.9353, allocations: 2.566 MB / 0.9812 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.9393, allocations: 1.122 MB / 0.9823 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00488/0.9442, allocations: 2.584 MB / 0.9848 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.9461, allocations: 0.9049 MB / 0.9857 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.9491, allocations: 1.093 MB / 0.9867 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.9512, allocations: 0.9457 MB / 0.9877 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.9516, allocations: 79.81 kB / 0.9877 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00459/0.9562, allocations: 1.785 MB / 0.9895 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.9571, allocations: 436.2 kB / 0.9899 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.9587, allocations: 0.6536 MB / 0.9905 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005602/0.9643, allocations: 2.177 MB / 0.9927 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.9644, allocations: 7.922 kB / 0.9927 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9644, allocations: 0 / 0.9927 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.872e-05/0.9644, allocations: 0 / 0.9927 GB, free: 8.121 MB / 0.7325 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.005835/0.9703, allocations: 1.954 MB / 0.9946 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.9704, allocations: 13.81 kB / 0.9946 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.9706, allocations: 136.1 kB / 0.9947 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/0.9748, allocations: 0.6632 MB / 0.9954 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.9769, allocations: 0.9528 MB / 0.9963 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.977, allocations: 70.77 kB / 0.9964 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.9773, allocations: 95.83 kB / 0.9964 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.9808, allocations: 1.474 MB / 0.9979 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.9809, allocations: 2.406 kB / 0.9979 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.981, allocations: 38 kB / 0.9979 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.9811, allocations: 49.52 kB / 0.998 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.9854, allocations: 1.519 MB / 0.9995 GB, free: 3.773 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.008782/0.9942, allocations: 5.478 MB / 1.005 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.9984, allocations: 1.287 MB / 1.006 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1, allocations: 0.6642 MB / 1.007 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009321/1.001, allocations: 0.5831 MB / 1.007 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/1.003, allocations: 0.7127 MB / 1.008 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 5.52e-06/1.004, allocations: 0 / 1.008 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.006334/1.01, allocations: 1.869 MB / 1.01 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.01, allocations: 70.33 kB / 1.01 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.012, allocations: 1.243 MB / 1.011 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/1.012, allocations: 42.48 kB / 1.011 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/1.013, allocations: 0.5838 MB / 1.012 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/1.013, allocations: 282.3 kB / 1.012 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/1.013, allocations: 189.4 kB / 1.012 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.013, allocations: 339.6 kB / 1.012 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/1.015, allocations: 0.5416 MB / 1.013 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.017, allocations: 0.8405 MB / 1.014 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/1.021, allocations: 1.325 MB / 1.015 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.021, allocations: 2.281 kB / 1.015 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004557/1.026, allocations: 1.503 MB / 1.017 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.026, allocations: 9.5 kB / 1.017 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.026, allocations: 7.969 kB / 1.017 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/1.026, allocations: 12.47 kB / 1.017 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.027, allocations: 299.7 kB / 1.017 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/1.028, allocations: 12.12 kB / 1.017 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.029, allocations: 199 kB / 1.017 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/1.03, allocations: 56.53 kB / 1.017 GB, free: 7.738 MB / 0.7481 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.0009075/1.03, allocations: 351.1 kB / 1.017 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/1.031, allocations: 136.8 kB / 1.018 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/1.035, allocations: 1.403 MB / 1.019 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.035, allocations: 7.781 kB / 1.019 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.035, allocations: 0 / 1.019 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.035, allocations: 7.984 kB / 1.019 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/1.042, allocations: 2.797 MB / 1.022 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/1.042, allocations: 5.438 kB / 1.022 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.044, allocations: 232 kB / 1.022 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/1.044, allocations: 7.469 kB / 1.022 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.044, allocations: 28.59 kB / 1.022 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/1.044, allocations: 13.38 kB / 1.022 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.044, allocations: 6.688 kB / 1.022 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/1.05, allocations: 2.248 MB / 1.024 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/1.051, allocations: 303.3 kB / 1.024 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/1.051, allocations: 20 kB / 1.025 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.052, allocations: 111.9 kB / 1.025 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.053, allocations: 60.38 kB / 1.025 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.053, allocations: 39.97 kB / 1.025 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001234/1.054, allocations: 0.8565 MB / 1.026 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.71e-07/1.054, allocations: 0 / 1.026 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00152/1.055, allocations: 331.5 kB / 1.026 GB, free: 1.344 MB / 0.7481 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.007594/1.063, allocations: 3.234 MB / 1.029 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004331/1.067, allocations: 1.285 MB / 1.03 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.067, allocations: 0 / 1.03 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.069, allocations: 0.6466 MB / 1.031 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/1.073, allocations: 0.615 MB / 1.032 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/1.096, allocations: 10.96 MB / 1.042 GB, free: 328 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/1.097, allocations: 1.179 MB / 1.043 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001441/1.099, allocations: 342 kB / 1.044 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008369/1.1, allocations: 0.4915 MB / 1.044 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of SimCode: time 1.513e-06/1.1, allocations: 0 / 1.044 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07454/1.174, allocations: 34.14 MB / 1.078 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.83, allocations: 19.14 kB / 1.078 GB, free: 12.61 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)