Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.001176/0.001176, allocations: 105.4 kB / 15.7 MB, free: 28 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.001211/0.001211, allocations: 191.5 kB / 16.64 MB, free: 6.453 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.323/1.323, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9697/0.9697, allocations: 143 MB / 433.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.5144 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1777, allocations: 82.04 MB / 0.5945 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5083/0.686, allocations: 193.9 MB / 0.7839 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009152/0.6953, allocations: 5.15 MB / 0.789 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.6976, allocations: 51.69 kB / 0.789 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.6999, allocations: 0.8042 MB / 0.7898 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007248/0.7072, allocations: 2.606 MB / 0.7923 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.7102, allocations: 1.108 MB / 0.7934 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003521/0.7137, allocations: 2.687 MB / 0.796 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.715, allocations: 0.9406 MB / 0.797 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.7169, allocations: 1.105 MB / 0.798 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.7181, allocations: 0.9885 MB / 0.799 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.7183, allocations: 92 kB / 0.7991 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.7217, allocations: 1.789 MB / 0.8008 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.7222, allocations: 450.6 kB / 0.8013 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.7228, allocations: 0.6643 MB / 0.8019 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.7258, allocations: 2.266 MB / 0.8041 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7258, allocations: 0 / 0.8041 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7258, allocations: 0 / 0.8041 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.7259, allocations: 0 / 0.8041 GB, free: 6.367 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004792/0.7307, allocations: 1.963 MB / 0.806 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7307, allocations: 12.03 kB / 0.8061 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.7309, allocations: 135.6 kB / 0.8062 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.7362, allocations: 0.8955 MB / 0.8071 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.7378, allocations: 0.9799 MB / 0.808 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.7378, allocations: 66 kB / 0.8081 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.738, allocations: 91.98 kB / 0.8082 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.7413, allocations: 1.579 MB / 0.8097 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.7414, allocations: 3.984 kB / 0.8097 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.7415, allocations: 35.98 kB / 0.8098 GB, free: 468 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.7416, allocations: 49.98 kB / 0.8098 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/0.7463, allocations: 1.854 MB / 0.8116 GB, free: 14.55 MB / 0.6387 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.006904/0.7532, allocations: 4.733 MB / 0.8162 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.7573, allocations: 1.558 MB / 0.8178 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.7594, allocations: 0.8508 MB / 0.8186 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.7608, allocations: 0.9491 MB / 0.8195 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/0.7631, allocations: 0.9071 MB / 0.8204 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 2.885e-06/0.7632, allocations: 4 kB / 0.8204 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007174/0.7703, allocations: 2.454 MB / 0.8228 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.7704, allocations: 64.34 kB / 0.8229 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.7718, allocations: 1.201 MB / 0.824 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.772, allocations: 41.7 kB / 0.8241 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.7724, allocations: 0.5448 MB / 0.8246 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.7727, allocations: 327.3 kB / 0.8249 GB, free: 464 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.773, allocations: 190.5 kB / 0.8251 GB, free: 268 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7732, allocations: 345.9 kB / 0.8254 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/0.7751, allocations: 0.6888 MB / 0.8261 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.7773, allocations: 0.9113 MB / 0.827 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.7812, allocations: 1.554 MB / 0.8285 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.7813, allocations: 4.5 kB / 0.8285 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004631/0.7859, allocations: 1.776 MB / 0.8302 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.7859, allocations: 8 kB / 0.8303 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.786, allocations: 8.969 kB / 0.8303 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.786, allocations: 12 kB / 0.8303 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.7877, allocations: 343.5 kB / 0.8306 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.7877, allocations: 16.47 kB / 0.8306 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.7893, allocations: 238.6 kB / 0.8308 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.7894, allocations: 51.97 kB / 0.8309 GB, free: 10.19 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005667/0.79, allocations: 332.2 kB / 0.8312 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.7902, allocations: 134.9 kB / 0.8313 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.7951, allocations: 1.808 MB / 0.8331 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.7951, allocations: 12 kB / 0.8331 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.7951, allocations: 6.922 kB / 0.8331 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.7951, allocations: 3.984 kB / 0.8331 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/0.802, allocations: 3.318 MB / 0.8364 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.802, allocations: 4.5 kB / 0.8364 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.8037, allocations: 291.6 kB / 0.8367 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.8038, allocations: 8 kB / 0.8367 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.8039, allocations: 31.97 kB / 0.8367 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.8039, allocations: 19.86 kB / 0.8367 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8039, allocations: 4 kB / 0.8367 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/0.8109, allocations: 2.847 MB / 0.8395 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.8116, allocations: 319.2 kB / 0.8398 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.8118, allocations: 24 kB / 0.8398 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.8132, allocations: 159.8 kB / 0.84 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.8133, allocations: 72.45 kB / 0.84 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/0.8134, allocations: 39.97 kB / 0.8401 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009686/0.8144, allocations: 0.8276 MB / 0.8409 GB, free: 15.74 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8144, allocations: 0 / 0.8409 GB, free: 15.74 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009997/0.8154, allocations: 347.6 kB / 0.8412 GB, free: 15.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.008368/0.8238, allocations: 3.829 MB / 0.845 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004659/0.8285, allocations: 1.626 MB / 0.8465 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.8285, allocations: 0 / 0.8465 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.8309, allocations: 0.8477 MB / 0.8474 GB, free: 9.242 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.8337, allocations: 0.6188 MB / 0.848 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.289/1.123, allocations: 12.04 MB / 0.8597 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/1.123, allocations: 1.182 MB / 0.8609 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001312/1.125, allocations: 352.7 kB / 0.8612 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/1.125, allocations: 0.5053 MB / 0.8617 GB, free: 209.1 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/1.125, allocations: 0 / 0.8617 GB, free: 209.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/1.192, allocations: 35.42 MB / 0.8963 GB, free: 204 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.93, allocations: 5.125 kB / 0.8963 GB, free: 204 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)