Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.0009451/0.000945, allocations: 91.84 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.007199/0.007199, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.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.9722/0.9722, allocations: 143.2 MB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 15.98 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 83.41 MB / 0.598 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4709/0.6253, allocations: 189.2 MB / 0.7827 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.6359, allocations: 6.928 MB / 0.7895 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.6371, allocations: 39.69 kB / 0.7895 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.6386, allocations: 0.5593 MB / 0.79 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.6437, allocations: 2.196 MB / 0.7922 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.6466, allocations: 1.28 MB / 0.7934 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005505/0.6521, allocations: 3.738 MB / 0.7971 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.6538, allocations: 0.7755 MB / 0.7978 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.6558, allocations: 0.9608 MB / 0.7988 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.6574, allocations: 0.787 MB / 0.7995 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.6575, allocations: 40 kB / 0.7996 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.6611, allocations: 2.217 MB / 0.8018 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.6614, allocations: 314.9 kB / 0.8021 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005438/0.6619, allocations: 0.5417 MB / 0.8026 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.6648, allocations: 2.473 MB / 0.805 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6648, allocations: 4 kB / 0.805 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6648, allocations: 0 / 0.805 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.6648, allocations: 0 / 0.805 GB, free: 7.922 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002906/0.6678, allocations: 1.392 MB / 0.8064 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6678, allocations: 12.02 kB / 0.8064 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.668, allocations: 122.4 kB / 0.8065 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.6708, allocations: 0.5957 MB / 0.8071 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.6728, allocations: 0.9972 MB / 0.808 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/0.674, allocations: 321 kB / 0.8083 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.6741, allocations: 64 kB / 0.8084 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.6765, allocations: 1.155 MB / 0.8095 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6765, allocations: 0 / 0.8095 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.6766, allocations: 28 kB / 0.8096 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.6767, allocations: 41.23 kB / 0.8096 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.6798, allocations: 1.254 MB / 0.8108 GB, free: 1.812 MB / 0.6231 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.005378/0.6852, allocations: 3.254 MB / 0.814 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6868, allocations: 0.7011 MB / 0.8147 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.6876, allocations: 431.4 kB / 0.8151 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008224/0.6884, allocations: 1.025 MB / 0.8161 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/0.6894, allocations: 0.5221 MB / 0.8166 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.525e-06/0.6894, allocations: 0 / 0.8166 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002855/0.6923, allocations: 1.244 MB / 0.8178 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.6924, allocations: 140.8 kB / 0.818 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.6943, allocations: 1.227 MB / 0.8192 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/0.6944, allocations: 37.7 kB / 0.8192 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.6947, allocations: 437.4 kB / 0.8196 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.6949, allocations: 189.3 kB / 0.8198 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.695, allocations: 53.69 kB / 0.8198 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6951, allocations: 330 kB / 0.8202 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.6964, allocations: 492.8 kB / 0.8206 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.6979, allocations: 0.6367 MB / 0.8213 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.7, allocations: 0.9812 MB / 0.8222 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7, allocations: 0 / 0.8222 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003176/0.7032, allocations: 1.287 MB / 0.8235 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.7032, allocations: 41.69 kB / 0.8235 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7032, allocations: 4 kB / 0.8235 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7033, allocations: 4 kB / 0.8235 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.7042, allocations: 219.9 kB / 0.8237 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.7042, allocations: 8 kB / 0.8237 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.7059, allocations: 307.6 kB / 0.824 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.706, allocations: 35.98 kB / 0.8241 GB, free: 3.723 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004891/0.7065, allocations: 320.6 kB / 0.8244 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.7066, allocations: 118.6 kB / 0.8245 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.7087, allocations: 1.018 MB / 0.8255 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.7087, allocations: 7.938 kB / 0.8255 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7087, allocations: 4 kB / 0.8255 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.7087, allocations: 3.984 kB / 0.8255 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.7133, allocations: 3.189 MB / 0.8286 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.7133, allocations: 8 kB / 0.8286 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.7139, allocations: 128 kB / 0.8287 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.7139, allocations: 15.98 kB / 0.8287 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.714, allocations: 24 kB / 0.8288 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.714, allocations: 15.92 kB / 0.8288 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.714, allocations: 11.94 kB / 0.8288 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.716, allocations: 1.359 MB / 0.8301 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.7165, allocations: 335.4 kB / 0.8304 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7166, allocations: 20 kB / 0.8305 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.7178, allocations: 123.9 kB / 0.8306 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.7179, allocations: 63.75 kB / 0.8306 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.718, allocations: 35.98 kB / 0.8307 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001519/0.7195, allocations: 0.8872 MB / 0.8315 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7195, allocations: 0 / 0.8315 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009795/0.7205, allocations: 299.8 kB / 0.8318 GB, free: 11.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * 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.002806/0.7233, allocations: 2.144 MB / 0.8339 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.7257, allocations: 1.052 MB / 0.835 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7257, allocations: 0 / 0.835 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.7266, allocations: 0.5219 MB / 0.8355 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/0.7303, allocations: 0.5331 MB / 0.836 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.7477, allocations: 10.41 MB / 0.8461 GB, free: 12.13 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.7483, allocations: 1.073 MB / 0.8472 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001116/0.7495, allocations: 283.2 kB / 0.8475 GB, free: 10.76 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.75, allocations: 355.3 kB / 0.8478 GB, free: 10.41 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/0.75, allocations: 0 / 0.8478 GB, free: 10.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/1.05, allocations: 30.5 MB / 0.8776 GB, free: 205.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.051, allocations: 280.9 kB / 0.8779 GB, free: 204.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.356, allocations: 0 / 0.8779 GB, free: 204.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)