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.0009935/0.0009934, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001016/0.001016, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.239/1.239, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.624/1.624, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001294/0.001294, allocations: 66.02 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5059/0.6741, allocations: 191.3 MB / 0.9698 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007295/0.6814, allocations: 4.977 MB / 0.9747 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.6827, allocations: 46.72 kB / 0.9747 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.6843, allocations: 0.7363 MB / 0.9754 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.6895, allocations: 2.41 MB / 0.9778 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.6918, allocations: 1.032 MB / 0.9788 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.6949, allocations: 2.601 MB / 0.9813 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.6965, allocations: 0.8806 MB / 0.9822 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.6987, allocations: 1.123 MB / 0.9833 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.6999, allocations: 1.006 MB / 0.9843 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.7001, allocations: 79.75 kB / 0.9844 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.7033, allocations: 1.851 MB / 0.9862 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.7037, allocations: 445.8 kB / 0.9866 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005812/0.7043, allocations: 0.6499 MB / 0.9872 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.707, allocations: 2.281 MB / 0.9894 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.707, allocations: 0 / 0.9894 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.707, allocations: 0 / 0.9894 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.7071, allocations: 4 kB / 0.9895 GB, free: 4.297 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.004432/0.7115, allocations: 1.943 MB / 0.9914 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7115, allocations: 9.469 kB / 0.9914 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.7117, allocations: 138.8 kB / 0.9915 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/0.7155, allocations: 0.6629 MB / 0.9921 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.7167, allocations: 0.8963 MB / 0.993 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.7167, allocations: 66.12 kB / 0.9931 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.7169, allocations: 98.83 kB / 0.9932 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.7196, allocations: 1.476 MB / 0.9946 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7196, allocations: 2.625 kB / 0.9946 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/0.7197, allocations: 34.31 kB / 0.9946 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.7198, allocations: 46.11 kB / 0.9947 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.7233, allocations: 1.52 MB / 0.9962 GB, free: 17.9 MB / 0.7481 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.006152/0.7295, allocations: 5.483 MB / 1.002 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.7328, allocations: 1.288 MB / 1.003 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.7344, allocations: 0.6621 MB / 1.003 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/0.7352, allocations: 0.583 MB / 1.004 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.7369, allocations: 0.7132 MB / 1.005 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 2.565e-06/0.7369, allocations: 3.938 kB / 1.005 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.00501/0.7419, allocations: 1.878 MB / 1.007 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.7419, allocations: 66.59 kB / 1.007 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.7432, allocations: 1.242 MB / 1.008 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.7433, allocations: 47.25 kB / 1.008 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.7438, allocations: 0.5843 MB / 1.008 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.744, allocations: 285.1 kB / 1.009 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.7443, allocations: 185.6 kB / 1.009 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7444, allocations: 341.1 kB / 1.009 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.7459, allocations: 0.5405 MB / 1.01 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.7477, allocations: 0.8419 MB / 1.011 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.7508, allocations: 1.327 MB / 1.012 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7508, allocations: 6.812 kB / 1.012 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003628/0.7544, allocations: 1.49 MB / 1.013 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.7545, allocations: 12.67 kB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7545, allocations: 6.844 kB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.7545, allocations: 13.38 kB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.7559, allocations: 295.8 kB / 1.014 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.7559, allocations: 18.06 kB / 1.014 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.7573, allocations: 220.7 kB / 1.014 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.49e-05/0.7574, allocations: 53.31 kB / 1.014 GB, free: 7.605 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.0004858/0.7579, allocations: 337.9 kB / 1.014 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7581, allocations: 139.9 kB / 1.014 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.7618, allocations: 1.405 MB / 1.016 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7619, allocations: 7.188 kB / 1.016 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7619, allocations: 0 / 1.016 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7619, allocations: 3.984 kB / 1.016 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.7674, allocations: 2.808 MB / 1.018 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7675, allocations: 6.188 kB / 1.018 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.7687, allocations: 226.6 kB / 1.019 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.7687, allocations: 11.25 kB / 1.019 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.7688, allocations: 27.33 kB / 1.019 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.7688, allocations: 14.7 kB / 1.019 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7689, allocations: 4.906 kB / 1.019 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.7741, allocations: 2.236 MB / 1.021 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.7747, allocations: 297.9 kB / 1.021 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.7749, allocations: 29.3 kB / 1.021 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.776, allocations: 134.8 kB / 1.021 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.7761, allocations: 62.2 kB / 1.021 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.7762, allocations: 35.84 kB / 1.021 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009422/0.7772, allocations: 0.8567 MB / 1.022 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7772, allocations: 4 kB / 1.022 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009694/0.7782, allocations: 320.8 kB / 1.023 GB, free: 2.59 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.00667/0.7848, allocations: 3.23 MB / 1.026 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003786/0.7886, allocations: 1.41 MB / 1.027 GB, free: 64 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7886, allocations: 0 / 1.027 GB, free: 64 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.7903, allocations: 0.64 MB / 1.028 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.793, allocations: 0.6294 MB / 1.028 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.8136, allocations: 12.14 MB / 1.04 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.8144, allocations: 1.181 MB / 1.041 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001476/0.8159, allocations: 346 kB / 1.042 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/0.8166, allocations: 0.4953 MB / 1.042 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of SimCode: time 1.031e-06/0.8166, allocations: 0 / 1.042 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6557/1.472, allocations: 33.83 MB / 1.075 GB, free: 340 kB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/1.473, allocations: 266.5 kB / 1.076 GB, free: 68 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/4.249, allocations: 1.75 kB / 1.076 GB, free: 68 kB / 0.795 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)