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.001625/0.001625, allocations: 108 kB / 15.61 MB, free: 152 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.002172/0.002172, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.58/1.58, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.002538/0.002538, allocations: 70.27 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2288, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5393/0.7681, allocations: 193.9 MB / 0.9728 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008777/0.7769, allocations: 4.992 MB / 0.9777 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.7787, allocations: 51.16 kB / 0.9777 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.7809, allocations: 0.8088 MB / 0.9785 GB, free: 14.88 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.006318/0.7873, allocations: 2.567 MB / 0.981 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.7901, allocations: 1.109 MB / 0.9821 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003467/0.7935, allocations: 2.584 MB / 0.9846 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.7949, allocations: 0.9043 MB / 0.9855 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.7968, allocations: 1.082 MB / 0.9866 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.7979, allocations: 0.9529 MB / 0.9875 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.7981, allocations: 80.41 kB / 0.9876 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.8015, allocations: 1.78 MB / 0.9893 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.8019, allocations: 439.2 kB / 0.9897 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006747/0.8026, allocations: 0.652 MB / 0.9904 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.8057, allocations: 2.148 MB / 0.9925 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8057, allocations: 0 / 0.9925 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8057, allocations: 0 / 0.9925 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.819e-05/0.8058, allocations: 0 / 0.9925 GB, free: 8.18 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.004755/0.8105, allocations: 1.946 MB / 0.9944 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.8106, allocations: 12.25 kB / 0.9944 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.8107, allocations: 146.4 kB / 0.9945 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00396/0.8147, allocations: 0.6562 MB / 0.9951 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.8161, allocations: 0.8961 MB / 0.996 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.8161, allocations: 71.23 kB / 0.9961 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.8163, allocations: 89.5 kB / 0.9962 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.8194, allocations: 1.472 MB / 0.9976 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.8195, allocations: 3.938 kB / 0.9976 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.8196, allocations: 36.23 kB / 0.9976 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.8197, allocations: 52.08 kB / 0.9977 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004164/0.8238, allocations: 1.52 MB / 0.9992 GB, free: 3.867 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.007612/0.8315, allocations: 5.495 MB / 1.005 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.8352, allocations: 1.301 MB / 1.006 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.8369, allocations: 0.6585 MB / 1.006 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/0.8377, allocations: 0.5852 MB / 1.007 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.8396, allocations: 0.7106 MB / 1.008 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 2.865e-06/0.8396, allocations: 3.938 kB / 1.008 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005634/0.8452, allocations: 1.881 MB / 1.01 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.8453, allocations: 59.94 kB / 1.01 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.8468, allocations: 1.246 MB / 1.011 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.8469, allocations: 46.5 kB / 1.011 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.8474, allocations: 0.5815 MB / 1.011 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.8476, allocations: 279.7 kB / 1.012 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.8479, allocations: 183.2 kB / 1.012 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8481, allocations: 347.5 kB / 1.012 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.8497, allocations: 0.5395 MB / 1.013 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.8515, allocations: 0.8347 MB / 1.014 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.8548, allocations: 1.331 MB / 1.015 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.8549, allocations: 2.219 kB / 1.015 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004563/0.8594, allocations: 1.498 MB / 1.016 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.8595, allocations: 15.36 kB / 1.016 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.8595, allocations: 7.688 kB / 1.016 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.8596, allocations: 12.12 kB / 1.016 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.861, allocations: 287.9 kB / 1.017 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.8611, allocations: 16.56 kB / 1.017 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.8627, allocations: 203.9 kB / 1.017 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.8629, allocations: 47.27 kB / 1.017 GB, free: 7.82 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.0006427/0.8635, allocations: 346.2 kB / 1.017 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.8638, allocations: 142.4 kB / 1.017 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.8677, allocations: 1.404 MB / 1.019 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.8678, allocations: 6.688 kB / 1.019 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8678, allocations: 3.938 kB / 1.019 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.8678, allocations: 3.984 kB / 1.019 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/0.8737, allocations: 2.806 MB / 1.021 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.8738, allocations: 2.812 kB / 1.021 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.875, allocations: 220 kB / 1.022 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.875, allocations: 11.84 kB / 1.022 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.8751, allocations: 30.22 kB / 1.022 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.8751, allocations: 11.47 kB / 1.022 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8751, allocations: 4.844 kB / 1.022 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/0.8806, allocations: 2.245 MB / 1.024 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.8812, allocations: 303.2 kB / 1.024 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.8814, allocations: 20 kB / 1.024 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8825, allocations: 111.9 kB / 1.024 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.8826, allocations: 60.44 kB / 1.024 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.8827, allocations: 37.59 kB / 1.024 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001007/0.8837, allocations: 0.8604 MB / 1.025 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.413e-06/0.8837, allocations: 0 / 1.025 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009689/0.8847, allocations: 327.5 kB / 1.026 GB, free: 1.477 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.006861/0.8915, allocations: 3.244 MB / 1.029 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00407/0.8956, allocations: 1.413 MB / 1.03 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8957, allocations: 3.938 kB / 1.03 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.8975, allocations: 0.6325 MB / 1.031 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.9003, allocations: 0.6136 MB / 1.031 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/0.9205, allocations: 11.79 MB / 1.043 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.9213, allocations: 1.182 MB / 1.044 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001505/0.9228, allocations: 334 kB / 1.044 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007393/0.9236, allocations: 0.4953 MB / 1.045 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 1.262e-06/0.9236, allocations: 7.938 kB / 1.045 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/0.9821, allocations: 34.15 MB / 1.078 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.344, allocations: 3.938 kB / 1.078 GB, free: 11.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --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)