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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 110.4 kB / 16.41 MB, free: 6.512 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.001968/0.001968, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 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.9032/0.9032, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 69.7 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.188, allocations: 82.03 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6169/0.8049, allocations: 194.1 MB / 0.8658 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.8168, allocations: 6.939 MB / 0.8726 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.8187, allocations: 47.75 kB / 0.8727 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.821, allocations: 0.6908 MB / 0.8733 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00683/0.8279, allocations: 2.334 MB / 0.8756 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.8318, allocations: 1.421 MB / 0.877 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.8367, allocations: 3.001 MB / 0.8799 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.8386, allocations: 0.8811 MB / 0.8808 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.8417, allocations: 1.153 MB / 0.8819 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.8435, allocations: 0.7969 MB / 0.8827 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.8439, allocations: 100 kB / 0.8828 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.8483, allocations: 2.062 MB / 0.8848 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006021/0.8489, allocations: 366.9 kB / 0.8852 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.8502, allocations: 0.5831 MB / 0.8857 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.855, allocations: 2.512 MB / 0.8882 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8551, allocations: 0 / 0.8882 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8551, allocations: 4 kB / 0.8882 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.507e-05/0.8551, allocations: 3.938 kB / 0.8882 GB, free: 4.855 MB / 0.6544 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.004249/0.8594, allocations: 1.625 MB / 0.8898 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8595, allocations: 12.03 kB / 0.8898 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.8626, allocations: 0.5409 MB / 0.8903 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.8651, allocations: 1.041 MB / 0.8913 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.8652, allocations: 57.31 kB / 0.8914 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.8654, allocations: 68 kB / 0.8915 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.868, allocations: 1.109 MB / 0.8925 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.868, allocations: 0 / 0.8925 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.8681, allocations: 31.94 kB / 0.8926 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.8682, allocations: 33.25 kB / 0.8926 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.8712, allocations: 1.161 MB / 0.8937 GB, free: 15.05 MB / 0.67 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.006188/0.8774, allocations: 3.163 MB / 0.8968 GB, free: 11.81 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.8791, allocations: 0.688 MB / 0.8975 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.88, allocations: 422.8 kB / 0.8979 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009412/0.8809, allocations: 1.025 MB / 0.8989 GB, free: 9.453 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.8819, allocations: 0.5142 MB / 0.8994 GB, free: 8.906 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 3.246e-06/0.882, allocations: 0 / 0.8994 GB, free: 8.906 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003092/0.8851, allocations: 1.225 MB / 0.9006 GB, free: 7.672 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.8852, allocations: 136.9 kB / 0.9007 GB, free: 7.508 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.8873, allocations: 1.184 MB / 0.9019 GB, free: 6.309 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.8874, allocations: 37.7 kB / 0.9019 GB, free: 6.266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.8878, allocations: 433.5 kB / 0.9023 GB, free: 5.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.888, allocations: 197.2 kB / 0.9025 GB, free: 5.641 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.8883, allocations: 142.1 kB / 0.9027 GB, free: 5.496 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8885, allocations: 330 kB / 0.903 GB, free: 5.168 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.8897, allocations: 440.8 kB / 0.9034 GB, free: 4.738 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.891, allocations: 0.5977 MB / 0.904 GB, free: 4.094 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.893, allocations: 0.9262 MB / 0.9049 GB, free: 3.113 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.893, allocations: 0 / 0.9049 GB, free: 3.113 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003027/0.8961, allocations: 1.197 MB / 0.9061 GB, free: 1.898 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.8961, allocations: 41.69 kB / 0.9061 GB, free: 1.852 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8961, allocations: 4 kB / 0.9061 GB, free: 1.848 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.8962, allocations: 8 kB / 0.9061 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.8971, allocations: 183.9 kB / 0.9063 GB, free: 1.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.8971, allocations: 11.94 kB / 0.9063 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.8987, allocations: 250.7 kB / 0.9065 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.8988, allocations: 43.97 kB / 0.9066 GB, free: 1.359 MB / 0.67 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.000562/0.8994, allocations: 327.3 kB / 0.9069 GB, free: 1.023 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.8997, allocations: 110.7 kB / 0.907 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.9018, allocations: 0.9915 MB / 0.908 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.9019, allocations: 11.98 kB / 0.908 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.9019, allocations: 3.938 kB / 0.908 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.9019, allocations: 4 kB / 0.908 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/0.907, allocations: 3.159 MB / 0.9111 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.907, allocations: 8 kB / 0.9111 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.9076, allocations: 119.8 kB / 0.9112 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.9077, allocations: 8 kB / 0.9112 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.9077, allocations: 32.11 kB / 0.9112 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.9077, allocations: 11.94 kB / 0.9112 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.9078, allocations: 11.94 kB / 0.9112 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.91, allocations: 1.341 MB / 0.9126 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006677/0.9107, allocations: 335.3 kB / 0.9129 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.9109, allocations: 24.23 kB / 0.9129 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.9121, allocations: 91.91 kB / 0.913 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.9123, allocations: 67.75 kB / 0.913 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/0.9124, allocations: 43.95 kB / 0.9131 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001674/0.9141, allocations: 0.8482 MB / 0.9139 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9141, allocations: 3.938 kB / 0.9139 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001335/0.9154, allocations: 299.8 kB / 0.9142 GB, free: 9.215 MB / 0.6856 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.0009714/0.9164, allocations: 352.8 kB / 0.9145 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.9189, allocations: 1.018 MB / 0.9155 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.9189, allocations: 4 kB / 0.9155 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.9199, allocations: 0.5169 MB / 0.916 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.9228, allocations: 0.5446 MB / 0.9166 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.9267, allocations: 2.074 MB / 0.9186 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.9274, allocations: 1.065 MB / 0.9196 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.9278, allocations: 91.39 kB / 0.9197 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/0.9278, allocations: 0 / 0.9197 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of Templates: time 0.03049/0.9583, allocations: 19.12 MB / 0.9384 GB, free: 404 kB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)