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.0007591/0.0007591, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005637/0.005637, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.326/1.326, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 255 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 12.75 kB / 0.5988 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1483, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5295/0.6778, allocations: 189 MB / 0.8698 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007943/0.6858, allocations: 5.137 MB / 0.8748 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.6868, allocations: 41.44 kB / 0.8748 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.6884, allocations: 0.7105 MB / 0.8755 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.6939, allocations: 2.456 MB / 0.8779 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.6963, allocations: 0.9956 MB / 0.8789 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.6998, allocations: 3.544 MB / 0.8824 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.7009, allocations: 0.8094 MB / 0.8832 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.7025, allocations: 0.9785 MB / 0.8841 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.7037, allocations: 0.9727 MB / 0.8851 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.7039, allocations: 44 kB / 0.8851 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.7072, allocations: 2.069 MB / 0.8871 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.7076, allocations: 394.7 kB / 0.8875 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.7083, allocations: 0.6387 MB / 0.8881 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.7111, allocations: 2.192 MB / 0.8903 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7111, allocations: 0 / 0.8903 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7111, allocations: 0 / 0.8903 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.851e-05/0.7111, allocations: 0 / 0.8903 GB, free: 13.71 MB / 0.6075 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.004343/0.7155, allocations: 1.686 MB / 0.8919 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7155, allocations: 8.031 kB / 0.8919 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/0.7157, allocations: 139.5 kB / 0.8921 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.7196, allocations: 0.7083 MB / 0.8928 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.7211, allocations: 0.8747 MB / 0.8936 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.7212, allocations: 69.98 kB / 0.8937 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.7214, allocations: 84 kB / 0.8938 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.7246, allocations: 1.485 MB / 0.8952 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.7246, allocations: 3.938 kB / 0.8952 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7248, allocations: 39.98 kB / 0.8952 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.7248, allocations: 49.97 kB / 0.8953 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.7289, allocations: 1.538 MB / 0.8968 GB, free: 6.832 MB / 0.6075 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.007326/0.7363, allocations: 5.507 MB / 0.9022 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.7399, allocations: 1.316 MB / 0.9035 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.7416, allocations: 0.6708 MB / 0.9041 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/0.7424, allocations: 0.5929 MB / 0.9047 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.7443, allocations: 0.7263 MB / 0.9054 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.876e-06/0.7443, allocations: 0 / 0.9054 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005521/0.7498, allocations: 1.913 MB / 0.9073 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.7499, allocations: 60.06 kB / 0.9073 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.7514, allocations: 1.239 MB / 0.9085 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.7515, allocations: 45.7 kB / 0.9086 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.752, allocations: 0.5753 MB / 0.9091 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.7523, allocations: 276.1 kB / 0.9094 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.7524, allocations: 81.67 kB / 0.9095 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7525, allocations: 345.9 kB / 0.9098 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.7542, allocations: 0.5406 MB / 0.9103 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.756, allocations: 0.8369 MB / 0.9112 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.7594, allocations: 1.344 MB / 0.9125 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.7594, allocations: 0 / 0.9125 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004079/0.7635, allocations: 1.519 MB / 0.914 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.7636, allocations: 8 kB / 0.914 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.7636, allocations: 12.09 kB / 0.914 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.7636, allocations: 12 kB / 0.914 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.765, allocations: 299.5 kB / 0.9143 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.7651, allocations: 15.94 kB / 0.9143 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.7667, allocations: 234.7 kB / 0.9145 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.7668, allocations: 51.97 kB / 0.9146 GB, free: 3.949 MB / 0.6231 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.0006665/0.7675, allocations: 331.7 kB / 0.9149 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.7678, allocations: 138.2 kB / 0.915 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.7719, allocations: 1.428 MB / 0.9164 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.7719, allocations: 15.98 kB / 0.9164 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7719, allocations: 8.031 kB / 0.9164 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.7719, allocations: 7.922 kB / 0.9164 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.7779, allocations: 2.83 MB / 0.9192 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.778, allocations: 4.5 kB / 0.9192 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.7792, allocations: 231.6 kB / 0.9194 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.7792, allocations: 8 kB / 0.9194 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/0.7793, allocations: 31.97 kB / 0.9195 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.7794, allocations: 7.938 kB / 0.9195 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.7794, allocations: 8 kB / 0.9195 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005531/0.7849, allocations: 2.283 MB / 0.9217 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.7856, allocations: 303.2 kB / 0.922 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.7859, allocations: 20 kB / 0.922 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.7872, allocations: 139.8 kB / 0.9221 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7874, allocations: 68.36 kB / 0.9222 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.7875, allocations: 31.98 kB / 0.9222 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001202/0.7887, allocations: 0.86 MB / 0.9231 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7887, allocations: 0 / 0.9231 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001153/0.7899, allocations: 319.6 kB / 0.9234 GB, free: 10.7 MB / 0.6387 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.007031/0.7969, allocations: 3.256 MB / 0.9266 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.8006, allocations: 1.302 MB / 0.9278 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8007, allocations: 256 / 0.9278 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.8024, allocations: 0.6636 MB / 0.9285 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.806, allocations: 0.5572 MB / 0.929 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/0.8283, allocations: 12.24 MB / 0.941 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.8291, allocations: 1.177 MB / 0.9421 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00145/0.8306, allocations: 341.9 kB / 0.9425 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/0.8314, allocations: 0.4953 MB / 0.9429 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.8314, allocations: 7.938 kB / 0.943 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05217/0.8836, allocations: 32.03 MB / 0.9742 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.8838, allocations: 268.2 kB / 0.9745 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.288, allocations: 4 kB / 0.9745 GB, free: 6.223 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)