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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9187/0.9187, allocations: 145 MB / 451.2 MB, free: 5.434 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation")
translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.64 kB / 0.6253 GB, free: 15.5 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 86.7 MB / 0.71 GB, free: 8.797 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6405/0.8155, allocations: 195.2 MB / 0.9006 GB, free: 6.941 MB / 0.67 GB
Notification: Performance of NFInst.instExpressions: time 0.01349/0.829, allocations: 6.98 MB / 0.9074 GB, free: 15.95 MB / 0.6856 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.8307, allocations: 71.38 kB / 0.9075 GB, free: 15.88 MB / 0.6856 GB
Notification: Performance of NFTyping.typeComponents: time 0.002266/0.8329, allocations: 0.6986 MB / 0.9082 GB, free: 15.18 MB / 0.6856 GB
Notification: Performance of NFTyping.typeBindings: time 0.006876/0.8398, allocations: 2.49 MB / 0.9106 GB, free: 12.68 MB / 0.6856 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.8438, allocations: 1.505 MB / 0.9121 GB, free: 11.2 MB / 0.6856 GB
Notification: Performance of NFFlatten.flatten: time 0.005281/0.8491, allocations: 3.044 MB / 0.9151 GB, free: 8.145 MB / 0.6856 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.8509, allocations: 0.7056 MB / 0.9157 GB, free: 7.43 MB / 0.6856 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.8542, allocations: 1.175 MB / 0.9169 GB, free: 6.258 MB / 0.6856 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.8562, allocations: 0.852 MB / 0.9177 GB, free: 5.41 MB / 0.6856 GB
Notification: Performance of NFPackage.collectConstants: time 0.000359/0.8566, allocations: 104 kB / 0.9178 GB, free: 5.309 MB / 0.6856 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005605/0.8622, allocations: 2.198 MB / 0.92 GB, free: 3.105 MB / 0.6856 GB
Notification: Performance of NFScalarize.scalarize: time 0.0009926/0.8632, allocations: 386.7 kB / 0.9203 GB, free: 2.727 MB / 0.6856 GB
Notification: Performance of NFVerifyModel.verify: time 0.001615/0.8648, allocations: 0.5869 MB / 0.9209 GB, free: 2.137 MB / 0.6856 GB
Notification: Performance of NFConvertDAE.convert: time 0.006373/0.8712, allocations: 2.507 MB / 0.9234 GB, free: 15.62 MB / 0.7012 GB
Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8712, allocations: 0 / 0.9234 GB, free: 15.62 MB / 0.7012 GB
Notification: Performance of FrontEnd: time 2.194e-06/0.8712, allocations: 0 / 0.9234 GB, free: 15.62 MB / 0.7012 GB
Notification: Performance of Transformations before backend: time 7.775e-05/0.8712, allocations: 0 / 0.9234 GB, free: 15.62 MB / 0.7012 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.005159/0.8764, allocations: 1.602 MB / 0.9249 GB, free: 13.98 MB / 0.7012 GB
Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8764, allocations: 12.03 kB / 0.9249 GB, free: 13.96 MB / 0.7012 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.8798, allocations: 0.5455 MB / 0.9255 GB, free: 13.42 MB / 0.7012 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.8824, allocations: 0.9757 MB / 0.9264 GB, free: 12.41 MB / 0.7012 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.164e-05/0.8825, allocations: 53.31 kB / 0.9265 GB, free: 12.36 MB / 0.7012 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.8827, allocations: 71.94 kB / 0.9265 GB, free: 12.29 MB / 0.7012 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.8854, allocations: 1.101 MB / 0.9276 GB, free: 11.16 MB / 0.7012 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.8854, allocations: 3.938 kB / 0.9276 GB, free: 11.16 MB / 0.7012 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.8855, allocations: 31.94 kB / 0.9277 GB, free: 11.13 MB / 0.7012 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.8856, allocations: 33.3 kB / 0.9277 GB, free: 11.09 MB / 0.7012 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.8889, allocations: 1.161 MB / 0.9288 GB, free: 9.934 MB / 0.7012 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.006654/0.8955, allocations: 3.129 MB / 0.9319 GB, free: 6.734 MB / 0.7012 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.8974, allocations: 0.655 MB / 0.9325 GB, free: 6.07 MB / 0.7012 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.8983, allocations: 391.7 kB / 0.9329 GB, free: 5.688 MB / 0.7012 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.8988, allocations: 128.3 kB / 0.933 GB, free: 5.562 MB / 0.7012 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.8999, allocations: 0.5217 MB / 0.9335 GB, free: 5.008 MB / 0.7012 GB
Notification: Performance of pre-optimization done (n=57): time 2.344e-06/0.8999, allocations: 3.938 kB / 0.9335 GB, free: 5.004 MB / 0.7012 GB
Notification: Performance of matching and sorting (n=57): time 0.003345/0.9033, allocations: 1.221 MB / 0.9347 GB, free: 3.777 MB / 0.7012 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.9034, allocations: 144.9 kB / 0.9349 GB, free: 3.605 MB / 0.7012 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.9057, allocations: 1.18 MB / 0.936 GB, free: 2.41 MB / 0.7012 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.9058, allocations: 37.7 kB / 0.936 GB, free: 2.367 MB / 0.7012 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.9062, allocations: 449.8 kB / 0.9365 GB, free: 1.922 MB / 0.7012 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.9065, allocations: 198.3 kB / 0.9367 GB, free: 1.727 MB / 0.7012 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.9068, allocations: 150.2 kB / 0.9368 GB, free: 1.574 MB / 0.7012 GB
Notification: Performance of setup shared object (initialization): time 0.0001595/0.907, allocations: 326 kB / 0.9371 GB, free: 1.25 MB / 0.7012 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.9083, allocations: 445 kB / 0.9375 GB, free: 0.8164 MB / 0.7012 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.9099, allocations: 0.5902 MB / 0.9381 GB, free: 176 kB / 0.7012 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.9123, allocations: 0.9265 MB / 0.939 GB, free: 15.19 MB / 0.7169 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9123, allocations: 0 / 0.939 GB, free: 15.19 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.003517/0.9158, allocations: 1.201 MB / 0.9402 GB, free: 13.98 MB / 0.7169 GB
Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.9158, allocations: 41.69 kB / 0.9402 GB, free: 13.93 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9158, allocations: 4 kB / 0.9402 GB, free: 13.93 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.9159, allocations: 8 kB / 0.9402 GB, free: 13.92 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9169, allocations: 188 kB / 0.9404 GB, free: 13.73 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.9169, allocations: 11.94 kB / 0.9404 GB, free: 13.72 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.9186, allocations: 247.1 kB / 0.9407 GB, free: 13.48 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/0.9187, allocations: 36.44 kB / 0.9407 GB, free: 13.45 MB / 0.7169 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.0005647/0.9192, allocations: 323.4 kB / 0.941 GB, free: 13.11 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.9195, allocations: 123.2 kB / 0.9411 GB, free: 12.99 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.9219, allocations: 1.007 MB / 0.9421 GB, free: 11.98 MB / 0.7169 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.9219, allocations: 8 kB / 0.9421 GB, free: 11.97 MB / 0.7169 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.9219, allocations: 3.938 kB / 0.9421 GB, free: 11.96 MB / 0.7169 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.922, allocations: 11.98 kB / 0.9421 GB, free: 11.95 MB / 0.7169 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006176/0.9281, allocations: 3.134 MB / 0.9452 GB, free: 8.676 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/0.9282, allocations: 8 kB / 0.9452 GB, free: 8.668 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/0.9291, allocations: 124 kB / 0.9453 GB, free: 8.547 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.9291, allocations: 8 kB / 0.9453 GB, free: 8.539 MB / 0.7169 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-05/0.9292, allocations: 27.98 kB / 0.9454 GB, free: 8.512 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.9292, allocations: 11.94 kB / 0.9454 GB, free: 8.5 MB / 0.7169 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-05/0.9292, allocations: 11.94 kB / 0.9454 GB, free: 8.488 MB / 0.7169 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/0.933, allocations: 1.355 MB / 0.9467 GB, free: 7.02 MB / 0.7169 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.9341, allocations: 258.9 kB / 0.947 GB, free: 6.766 MB / 0.7169 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.9345, allocations: 27.98 kB / 0.947 GB, free: 6.738 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.9364, allocations: 99.91 kB / 0.9471 GB, free: 6.641 MB / 0.7169 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.9366, allocations: 67.67 kB / 0.9471 GB, free: 6.574 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.9367, allocations: 39.97 kB / 0.9472 GB, free: 6.535 MB / 0.7169 GB
Notification: Performance of sorting global known variables: time 0.002599/0.9393, allocations: 0.8443 MB / 0.948 GB, free: 5.684 MB / 0.7169 GB
Notification: Performance of sort global known variables: time 1.31e-07/0.9393, allocations: 4 kB / 0.948 GB, free: 5.68 MB / 0.7169 GB
Notification: Performance of remove unused functions: time 0.002167/0.9415, allocations: 299.6 kB / 0.9483 GB, free: 5.387 MB / 0.7169 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.001154/0.9426, allocations: 354.5 kB / 0.9486 GB, free: 5.047 MB / 0.7169 GB
Notification: Performance of simCode: created initialization part: time 0.003948/0.9466, allocations: 0.9742 MB / 0.9496 GB, free: 4.059 MB / 0.7169 GB
Notification: Performance of simCode: created event and clocks part: time 1.347e-05/0.9466, allocations: 4 kB / 0.9496 GB, free: 4.055 MB / 0.7169 GB
Notification: Performance of simCode: created simulation system equations: time 0.001572/0.9482, allocations: 488.7 kB / 0.95 GB, free: 3.566 MB / 0.7169 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/0.9526, allocations: 0.5476 MB / 0.9506 GB, free: 3.027 MB / 0.7169 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/0.9589, allocations: 2.074 MB / 0.9526 GB, free: 0.8242 MB / 0.7169 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.9601, allocations: 1.061 MB / 0.9536 GB, free: 15.73 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.001983/0.9621, allocations: 276.8 kB / 0.9539 GB, free: 15.46 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.9626, allocations: 87.41 kB / 0.954 GB, free: 15.38 MB / 0.7325 GB
Notification: Performance of SimCode: time 1.042e-06/0.9626, allocations: 0 / 0.954 GB, free: 15.38 MB / 0.7325 GB
Notification: Performance of Templates: time 0.0433/1.006, allocations: 22.84 MB / 0.9763 GB, free: 8.766 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660]
(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) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.189715306274593]
Failed to read output from testmodel.py, exit status != 0:
1.0151662342250347 1.030869146 0.15611844900000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa8575517b0>