Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.005695/0.005695, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.001239/0.001239, allocations: 196 kB / 16.68 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.872/0.872, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 66.12 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.156, allocations: 82.04 MB / 0.6752 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02768/0.1837, allocations: 29.33 MB / 0.7038 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009927/0.1937, allocations: 6.885 MB / 0.7106 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.1953, allocations: 55.56 kB / 0.7106 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.1972, allocations: 0.6953 MB / 0.7113 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.2012, allocations: 1.516 MB / 0.7128 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.2042, allocations: 1.156 MB / 0.7139 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003729/0.208, allocations: 2.481 MB / 0.7163 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.2096, allocations: 0.7906 MB / 0.7171 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.2119, allocations: 1.051 MB / 0.7181 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.2135, allocations: 0.8208 MB / 0.7189 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.2139, allocations: 64 kB / 0.719 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.2162, allocations: 0.8226 MB / 0.7198 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.2166, allocations: 278.9 kB / 0.7201 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009162/0.2175, allocations: 0.5515 MB / 0.7206 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.2208, allocations: 1.673 MB / 0.7222 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2208, allocations: 0 / 0.7222 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2208, allocations: 0 / 0.7222 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.083e-05/0.2209, allocations: 0 / 0.7222 GB, free: 10.48 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003356/0.2242, allocations: 1.612 MB / 0.7238 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2243, allocations: 12.02 kB / 0.7238 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.2245, allocations: 114.7 kB / 0.7239 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.228, allocations: 0.5931 MB / 0.7245 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.2296, allocations: 0.8885 MB / 0.7254 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.2296, allocations: 58.12 kB / 0.7254 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.2298, allocations: 80 kB / 0.7255 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.2322, allocations: 1.088 MB / 0.7266 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2323, allocations: 3.938 kB / 0.7266 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.2324, allocations: 35.98 kB / 0.7266 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.2324, allocations: 24 kB / 0.7266 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.2355, allocations: 0.9962 MB / 0.7276 GB, free: 4.773 MB / 0.5606 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.006351/0.2419, allocations: 4.956 MB / 0.7324 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.2449, allocations: 0.9037 MB / 0.7333 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.2463, allocations: 498.1 kB / 0.7338 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.2477, allocations: 1.596 MB / 0.7354 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.2493, allocations: 0.5651 MB / 0.7359 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.2493, allocations: 0 / 0.7359 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.004891/0.2542, allocations: 1.489 MB / 0.7374 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.2543, allocations: 63.91 kB / 0.7374 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.2558, allocations: 1.116 MB / 0.7385 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.256, allocations: 41.7 kB / 0.7386 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.2565, allocations: 0.552 MB / 0.7391 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.2567, allocations: 222.2 kB / 0.7393 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.257, allocations: 158.6 kB / 0.7395 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2572, allocations: 341.9 kB / 0.7398 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2587, allocations: 453.6 kB / 0.7402 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.2604, allocations: 0.7125 MB / 0.7409 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.2635, allocations: 1.117 MB / 0.742 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.2635, allocations: 4 kB / 0.742 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003679/0.2672, allocations: 1.287 MB / 0.7433 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.2673, allocations: 12.03 kB / 0.7433 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2673, allocations: 8 kB / 0.7433 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2673, allocations: 8 kB / 0.7433 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.2686, allocations: 267.6 kB / 0.7435 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.2686, allocations: 15.94 kB / 0.7436 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.2699, allocations: 183.3 kB / 0.7437 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/0.27, allocations: 43.97 kB / 0.7438 GB, free: 3.266 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004901/0.2705, allocations: 284.4 kB / 0.744 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.2708, allocations: 139.1 kB / 0.7442 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.2748, allocations: 1.354 MB / 0.7455 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.2748, allocations: 15.98 kB / 0.7455 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2748, allocations: 3.938 kB / 0.7455 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2748, allocations: 3.984 kB / 0.7455 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3126/0.5875, allocations: 2.38 MB / 0.7478 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.5875, allocations: 2.375 kB / 0.7479 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5886, allocations: 188.1 kB / 0.748 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.5887, allocations: 3.344 kB / 0.748 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.5887, allocations: 23.98 kB / 0.7481 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.5888, allocations: 12.08 kB / 0.7481 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5888, allocations: 5.781 kB / 0.7481 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/0.594, allocations: 1.974 MB / 0.75 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.5946, allocations: 289.1 kB / 0.7503 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5947, allocations: 15.2 kB / 0.7503 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.5957, allocations: 111.7 kB / 0.7504 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5958, allocations: 53.75 kB / 0.7504 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/0.5959, allocations: 35.64 kB / 0.7505 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00093/0.5968, allocations: 0.7649 MB / 0.7512 GB, free: 69.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5969, allocations: 0 / 0.7512 GB, free: 69.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001124/0.598, allocations: 346.8 kB / 0.7516 GB, free: 69.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006986/0.605, allocations: 3.102 MB / 0.7546 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.6088, allocations: 1.116 MB / 0.7557 GB, free: 68.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.6088, allocations: 0.5 kB / 0.7557 GB, free: 68.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.6106, allocations: 0.5738 MB / 0.7562 GB, free: 67.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6129, allocations: 451.3 kB / 0.7567 GB, free: 67.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.6314, allocations: 9.615 MB / 0.7661 GB, free: 63.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.632, allocations: 1.107 MB / 0.7671 GB, free: 62.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001005/0.633, allocations: 243.2 kB / 0.7674 GB, free: 62.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.6336, allocations: 465.7 kB / 0.7678 GB, free: 62.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.6336, allocations: 0 / 0.7678 GB, free: 62.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05196/0.6856, allocations: 30.92 MB / 0.798 GB, free: 39.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.727/10.41, allocations: 10.33 kB / 0.798 GB, free: 39.06 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)