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.001653/0.001653, 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.001889/0.001889, allocations: 190.5 kB / 16.64 MB, free: 6.594 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.802/1.802, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00142/0.00142, allocations: 70.27 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2117, 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.6857/0.8974, allocations: 193.8 MB / 0.9729 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009213/0.9066, allocations: 5 MB / 0.9778 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.9088, allocations: 51.72 kB / 0.9779 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.9111, allocations: 0.8119 MB / 0.9787 GB, free: 14.98 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.007581/0.9187, allocations: 2.564 MB / 0.9812 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.922, allocations: 1.117 MB / 0.9823 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00445/0.9265, allocations: 2.584 MB / 0.9848 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.9282, allocations: 0.9142 MB / 0.9857 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.931, allocations: 1.088 MB / 0.9867 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.9328, allocations: 0.9455 MB / 0.9877 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.933, allocations: 84 kB / 0.9877 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.9373, allocations: 1.781 MB / 0.9895 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007134/0.938, allocations: 437 kB / 0.9899 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.9393, allocations: 0.656 MB / 0.9905 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.9453, allocations: 2.177 MB / 0.9927 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.9454, allocations: 2.938 kB / 0.9927 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.145e-06/0.9454, allocations: 0 / 0.9927 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-05/0.9455, allocations: 0 / 0.9927 GB, free: 8.125 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.006163/0.9516, allocations: 1.954 MB / 0.9946 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.9517, allocations: 14.48 kB / 0.9946 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.9519, allocations: 137.8 kB / 0.9947 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.9559, allocations: 0.6654 MB / 0.9954 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.9584, allocations: 0.9537 MB / 0.9963 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.9585, allocations: 71 kB / 0.9964 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.9587, allocations: 92.16 kB / 0.9964 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/0.962, allocations: 1.474 MB / 0.9979 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.962, allocations: 0 / 0.9979 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.9622, allocations: 34.09 kB / 0.9979 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/0.9622, allocations: 55.44 kB / 0.998 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.9663, allocations: 1.52 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.007552/0.9739, allocations: 5.476 MB / 1.005 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.9775, allocations: 1.292 MB / 1.006 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.9792, allocations: 0.6703 MB / 1.007 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008831/0.9801, allocations: 0.5785 MB / 1.007 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001831/0.9819, allocations: 0.7079 MB / 1.008 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.156e-06/0.9819, allocations: 0 / 1.008 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005557/0.9875, allocations: 1.876 MB / 1.01 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.9876, allocations: 67.83 kB / 1.01 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.9891, allocations: 1.242 MB / 1.011 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.9893, allocations: 42.77 kB / 1.011 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.9898, allocations: 0.5847 MB / 1.012 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.9901, allocations: 275.5 kB / 1.012 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.9904, allocations: 189.5 kB / 1.012 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9905, allocations: 341.5 kB / 1.012 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.9922, allocations: 0.5433 MB / 1.013 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.994, allocations: 0.8394 MB / 1.014 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.9972, allocations: 1.328 MB / 1.015 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.9972, allocations: 2 kB / 1.015 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00393/1.001, allocations: 1.496 MB / 1.017 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.001, allocations: 8.719 kB / 1.017 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.001, allocations: 7.344 kB / 1.017 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.001, allocations: 17 kB / 1.017 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.003, allocations: 297.6 kB / 1.017 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.003, allocations: 16.84 kB / 1.017 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.004, allocations: 199.9 kB / 1.017 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.004, allocations: 52.78 kB / 1.017 GB, free: 7.742 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.0005792/1.005, allocations: 340.9 kB / 1.017 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/1.005, allocations: 137.1 kB / 1.018 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/1.009, allocations: 1.408 MB / 1.019 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.009, allocations: 7.625 kB / 1.019 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.009, allocations: 0 / 1.019 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.009, allocations: 7.922 kB / 1.019 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/1.014, allocations: 2.802 MB / 1.022 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.014, allocations: 2.781 kB / 1.022 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.016, allocations: 234.3 kB / 1.022 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/1.016, allocations: 7.531 kB / 1.022 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/1.016, allocations: 30.16 kB / 1.022 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/1.016, allocations: 9.344 kB / 1.022 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.016, allocations: 9 kB / 1.022 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/1.021, allocations: 2.246 MB / 1.024 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/1.022, allocations: 291.2 kB / 1.024 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/1.022, allocations: 28 kB / 1.025 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.023, allocations: 107.9 kB / 1.025 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.024, allocations: 64.36 kB / 1.025 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/1.024, allocations: 35.97 kB / 1.025 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001143/1.025, allocations: 0.8643 MB / 1.026 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/1.025, allocations: 0 / 1.026 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001121/1.026, allocations: 315.5 kB / 1.026 GB, free: 1.375 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.007112/1.033, allocations: 3.244 MB / 1.029 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003792/1.037, allocations: 1.285 MB / 1.03 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.037, allocations: 0 / 1.03 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.039, allocations: 0.6404 MB / 1.031 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.042, allocations: 0.6184 MB / 1.032 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.065, allocations: 10.97 MB / 1.042 GB, free: 340 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009363/1.066, allocations: 1.179 MB / 1.043 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001393/1.067, allocations: 338 kB / 1.044 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/1.068, allocations: 0.503 MB / 1.044 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of SimCode: time 7.12e-07/1.068, allocations: 0 / 1.044 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06844/1.136, allocations: 34.14 MB / 1.078 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.35, allocations: 22.95 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 & /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)