Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001044/0.001044, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001252/0.001252, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9843/0.9843, allocations: 143.3 MB / 434.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 12 kB / 0.5159 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 83.41 MB / 0.5974 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5033/0.6778, allocations: 160.8 MB / 0.7544 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008926/0.6868, allocations: 5.038 MB / 0.7593 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.6884, allocations: 43.62 kB / 0.7594 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.6904, allocations: 0.7801 MB / 0.7601 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006033/0.6964, allocations: 1.776 MB / 0.7619 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.7002, allocations: 1.171 MB / 0.763 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.7034, allocations: 1.622 MB / 0.7646 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7048, allocations: 0.7776 MB / 0.7654 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.707, allocations: 0.9578 MB / 0.7663 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008902/0.7079, allocations: 0.685 MB / 0.767 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-05/0.708, allocations: 47.94 kB / 0.767 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.7106, allocations: 0.9398 MB / 0.7679 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.711, allocations: 370.9 kB / 0.7683 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.7114, allocations: 269.5 kB / 0.7685 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.7131, allocations: 1.347 MB / 0.7699 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.7131, allocations: 4 kB / 0.7699 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7131, allocations: 0 / 0.7699 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7132, allocations: 0 / 0.7699 GB, free: 11.24 MB / 0.5919 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.004646/0.7178, allocations: 1.668 MB / 0.7715 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7179, allocations: 11.97 kB / 0.7715 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.7181, allocations: 135.5 kB / 0.7716 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.7225, allocations: 0.7519 MB / 0.7724 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.7243, allocations: 0.8446 MB / 0.7732 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.7244, allocations: 62 kB / 0.7732 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.7245, allocations: 95.88 kB / 0.7733 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.7276, allocations: 1.465 MB / 0.7748 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.7277, allocations: 0 / 0.7748 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.7278, allocations: 35.98 kB / 0.7748 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.7279, allocations: 49.98 kB / 0.7749 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.7319, allocations: 1.581 MB / 0.7764 GB, free: 4.371 MB / 0.5919 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.006037/0.7379, allocations: 4.655 MB / 0.7809 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.7413, allocations: 1.237 MB / 0.7822 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/0.7418, allocations: 177.6 kB / 0.7823 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.7437, allocations: 0.7362 MB / 0.783 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.647e-06/0.7437, allocations: 0 / 0.783 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005991/0.7497, allocations: 2.003 MB / 0.785 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.7498, allocations: 68 kB / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.7512, allocations: 1.251 MB / 0.7863 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.7513, allocations: 49.69 kB / 0.7863 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.7518, allocations: 0.5755 MB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.752, allocations: 287.9 kB / 0.7872 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.7521, allocations: 20 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7522, allocations: 341.9 kB / 0.7875 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.7538, allocations: 0.5562 MB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.7556, allocations: 0.801 MB / 0.7888 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.7573, allocations: 0.6118 MB / 0.7894 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7573, allocations: 0 / 0.7894 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003959/0.7613, allocations: 1.522 MB / 0.7909 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.7614, allocations: 8 kB / 0.7909 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.7614, allocations: 8 kB / 0.7909 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.7614, allocations: 12 kB / 0.7909 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.7629, allocations: 300.2 kB / 0.7912 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.7629, allocations: 15.88 kB / 0.7912 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.7644, allocations: 226.6 kB / 0.7915 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.7645, allocations: 43.98 kB / 0.7915 GB, free: 4.465 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005501/0.7651, allocations: 339.7 kB / 0.7918 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.7653, allocations: 134.3 kB / 0.792 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.7692, allocations: 1.475 MB / 0.7934 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.7692, allocations: 8 kB / 0.7934 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.7692, allocations: 0.5625 kB / 0.7934 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.7692, allocations: 3.984 kB / 0.7934 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006086/0.7753, allocations: 2.916 MB / 0.7963 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.7754, allocations: 4 kB / 0.7963 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.7766, allocations: 228.8 kB / 0.7965 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.7767, allocations: 12 kB / 0.7965 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/0.7768, allocations: 31.97 kB / 0.7965 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.7768, allocations: 15.08 kB / 0.7965 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.7768, allocations: 7.938 kB / 0.7965 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00551/0.7823, allocations: 2.573 MB / 0.7991 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.783, allocations: 315.2 kB / 0.7994 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.7832, allocations: 27.98 kB / 0.7994 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7843, allocations: 127.9 kB / 0.7995 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.7845, allocations: 64.39 kB / 0.7996 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-05/0.7846, allocations: 39.97 kB / 0.7996 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001264/0.7858, allocations: 0.8645 MB / 0.8005 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7859, allocations: 0 / 0.8005 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001124/0.787, allocations: 323.6 kB / 0.8008 GB, free: 10.71 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00747/0.7945, allocations: 4.698 MB / 0.8053 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.7982, allocations: 1.319 MB / 0.8066 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7983, allocations: 0 / 0.8066 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.8001, allocations: 0.6721 MB / 0.8073 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.8031, allocations: 0.577 MB / 0.8079 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.8206, allocations: 12.61 MB / 0.8202 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.8214, allocations: 1.196 MB / 0.8213 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001618/0.823, allocations: 354.6 kB / 0.8217 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/0.8237, allocations: 499.2 kB / 0.8221 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of SimCode: time 1.814e-06/0.8237, allocations: 0 / 0.8221 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/0.8814, allocations: 33.25 MB / 0.8546 GB, free: 3.668 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.8817, allocations: 244.7 kB / 0.8549 GB, free: 3.402 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.413, allocations: 0 / 0.8549 GB, free: 3.402 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) Environment - environmentSimulation: