Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.0008218/0.0008215, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.004481/0.004481, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001658/0.001659, allocations: 274.4 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004709, allocations: 17.38 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 88.53 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4851/0.6399, allocations: 189 MB / 0.8698 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008978/0.6489, allocations: 5.134 MB / 0.8748 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.65, allocations: 43.44 kB / 0.8748 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.6517, allocations: 0.7218 MB / 0.8755 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.6572, allocations: 2.444 MB / 0.8779 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.6594, allocations: 1.007 MB / 0.8789 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.6633, allocations: 3.526 MB / 0.8824 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.6645, allocations: 0.7978 MB / 0.8831 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.6661, allocations: 0.9863 MB / 0.8841 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.6673, allocations: 0.98 MB / 0.8851 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.6674, allocations: 48 kB / 0.8851 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.671, allocations: 2.061 MB / 0.8871 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.6714, allocations: 414.5 kB / 0.8875 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.6721, allocations: 0.6309 MB / 0.8881 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.675, allocations: 2.2 MB / 0.8903 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.675, allocations: 4 kB / 0.8903 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.675, allocations: 0 / 0.8903 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.6751, allocations: 0 / 0.8903 GB, free: 13.84 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.004469/0.6795, allocations: 1.682 MB / 0.8919 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6796, allocations: 8.031 kB / 0.8919 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.6798, allocations: 143.5 kB / 0.8921 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/0.6841, allocations: 0.7435 MB / 0.8928 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.6855, allocations: 0.8942 MB / 0.8937 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.6855, allocations: 62 kB / 0.8937 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6857, allocations: 91.94 kB / 0.8938 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.6888, allocations: 1.48 MB / 0.8953 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.6888, allocations: 7.984 kB / 0.8953 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6889, allocations: 39.98 kB / 0.8953 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.689, allocations: 45.98 kB / 0.8954 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/0.693, allocations: 1.581 MB / 0.8969 GB, free: 6.883 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.006391/0.6994, allocations: 5.054 MB / 0.9018 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.7027, allocations: 1.237 MB / 0.903 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.7045, allocations: 0.6786 MB / 0.9037 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.7058, allocations: 0.9565 MB / 0.9046 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.7077, allocations: 0.7342 MB / 0.9054 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.7077, allocations: 4 kB / 0.9054 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.00606/0.7138, allocations: 1.995 MB / 0.9073 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.7138, allocations: 60.06 kB / 0.9074 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.7153, allocations: 1.271 MB / 0.9086 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.7154, allocations: 45.69 kB / 0.9086 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.7159, allocations: 0.5677 MB / 0.9092 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.7161, allocations: 280.1 kB / 0.9095 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.7163, allocations: 81.67 kB / 0.9095 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7165, allocations: 345.9 kB / 0.9099 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.7181, allocations: 0.5562 MB / 0.9104 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.7199, allocations: 0.8325 MB / 0.9112 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.7233, allocations: 1.367 MB / 0.9126 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7233, allocations: 3.938 kB / 0.9126 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003934/0.7272, allocations: 1.538 MB / 0.9141 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7273, allocations: 8 kB / 0.9141 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.7273, allocations: 8 kB / 0.9141 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.7273, allocations: 12 kB / 0.9141 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.7287, allocations: 304 kB / 0.9144 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.7288, allocations: 19.92 kB / 0.9144 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.7302, allocations: 218.8 kB / 0.9146 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.7303, allocations: 51.91 kB / 0.9147 GB, free: 3.949 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005156/0.7308, allocations: 336.4 kB / 0.915 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.731, allocations: 134.3 kB / 0.9151 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.7349, allocations: 1.479 MB / 0.9166 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.7349, allocations: 8 kB / 0.9166 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.735, allocations: 0 / 0.9166 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.735, allocations: 3.984 kB / 0.9166 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.7406, allocations: 2.889 MB / 0.9194 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.7407, allocations: 4 kB / 0.9194 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.7419, allocations: 223.9 kB / 0.9196 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.7419, allocations: 11.94 kB / 0.9196 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/0.742, allocations: 31.97 kB / 0.9197 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.742, allocations: 11.94 kB / 0.9197 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.742, allocations: 11.94 kB / 0.9197 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/0.7476, allocations: 2.346 MB / 0.922 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.7482, allocations: 307.2 kB / 0.9223 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.7484, allocations: 27.98 kB / 0.9223 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.7495, allocations: 127.9 kB / 0.9224 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.7497, allocations: 64.47 kB / 0.9225 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/0.7497, allocations: 39.97 kB / 0.9225 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001038/0.7508, allocations: 0.8723 MB / 0.9234 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7508, allocations: 0 / 0.9234 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009724/0.7518, allocations: 319.6 kB / 0.9237 GB, free: 10.53 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.007086/0.7589, allocations: 3.329 MB / 0.9269 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003747/0.7626, allocations: 1.324 MB / 0.9282 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.7627, allocations: 4.25 kB / 0.9282 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.7645, allocations: 0.6714 MB / 0.9289 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/0.7684, allocations: 0.6077 MB / 0.9295 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/0.7919, allocations: 12.43 MB / 0.9416 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/0.7928, allocations: 1.175 MB / 0.9428 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001558/0.7944, allocations: 358.1 kB / 0.9431 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/0.7951, allocations: 491.2 kB / 0.9436 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7952, allocations: 0 / 0.9436 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05619/0.8514, allocations: 33.05 MB / 0.9758 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.8516, allocations: 269.5 kB / 0.9761 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.396, allocations: 6.953 kB / 0.9761 GB, free: 4.711 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)