Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 92.16 kB / 16.02 MB, free: 80 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.001041/0.001041, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.324 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 1.011/1.011, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 11.98 kB / 0.5171 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 83.4 MB / 0.5985 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.3356/0.5046, allocations: 20.14 MB / 0.6182 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007159/0.5118, allocations: 5.391 MB / 0.6234 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.5127, allocations: 26.94 kB / 0.6235 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008463/0.5136, allocations: 272 kB / 0.6237 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.5158, allocations: 0.8726 MB / 0.6246 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.5182, allocations: 0.8117 MB / 0.6254 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.5209, allocations: 2.294 MB / 0.6276 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006629/0.5215, allocations: 436.2 kB / 0.628 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.5226, allocations: 0.6121 MB / 0.6286 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.5232, allocations: 490 kB / 0.6291 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.5233, allocations: 28.16 kB / 0.6291 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5252, allocations: 1.091 MB / 0.6302 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.5253, allocations: 123.4 kB / 0.6303 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.5256, allocations: 325.4 kB / 0.6306 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5268, allocations: 0.882 MB / 0.6315 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5268, allocations: 0 / 0.6315 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5268, allocations: 0 / 0.6315 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5268, allocations: 0 / 0.6315 GB, free: 27.14 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00146/0.5283, allocations: 0.9265 MB / 0.6324 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5283, allocations: 8.812 kB / 0.6324 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/0.5292, allocations: 195.2 kB / 0.6326 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.5302, allocations: 0.5751 MB / 0.6331 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.5305, allocations: 91.11 kB / 0.6332 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.5306, allocations: 38.38 kB / 0.6332 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.5315, allocations: 0.5103 MB / 0.6337 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5316, allocations: 2.906 kB / 0.6337 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.5316, allocations: 10.81 kB / 0.6338 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.5317, allocations: 8.594 kB / 0.6338 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.5326, allocations: 433.5 kB / 0.6342 GB, free: 25.6 MB / 0.4981 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.00282/0.5354, allocations: 2.305 MB / 0.6364 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5364, allocations: 398 kB / 0.6368 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.5369, allocations: 237.8 kB / 0.637 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.5372, allocations: 338.5 kB / 0.6374 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.5378, allocations: 310.5 kB / 0.6377 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/0.5378, allocations: 0 / 0.6377 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002131/0.5399, allocations: 0.8951 MB / 0.6385 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.54, allocations: 90.98 kB / 0.6386 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.5405, allocations: 495.4 kB / 0.6391 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.5405, allocations: 32.55 kB / 0.6391 GB, free: 22.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5407, allocations: 275.4 kB / 0.6394 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.5408, allocations: 119.9 kB / 0.6395 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.5408, allocations: 31.77 kB / 0.6395 GB, free: 22.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.5409, allocations: 364.2 kB / 0.6399 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.5414, allocations: 184.4 kB / 0.6401 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.5419, allocations: 272.5 kB / 0.6403 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.5427, allocations: 490 kB / 0.6408 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5428, allocations: 2.625 kB / 0.6408 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001302/0.5441, allocations: 0.645 MB / 0.6414 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.5442, allocations: 171.4 kB / 0.6416 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5442, allocations: 0 / 0.6416 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.5445, allocations: 64.16 kB / 0.6416 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.5449, allocations: 81.36 kB / 0.6417 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003681/0.5453, allocations: 0.6004 MB / 0.6423 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.5458, allocations: 74.53 kB / 0.6424 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.5459, allocations: 28.09 kB / 0.6424 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.5459, allocations: 6.094 kB / 0.6424 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001146/0.547, allocations: 0.5584 MB / 0.6429 GB, free: 19.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.5471, allocations: 4.031 kB / 0.643 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.5472, allocations: 50.02 kB / 0.643 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.5475, allocations: 82.92 kB / 0.6431 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.5487, allocations: 1.631 MB / 0.6447 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.5493, allocations: 79.16 kB / 0.6447 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.5493, allocations: 17.11 kB / 0.6448 GB, free: 18.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.5497, allocations: 309.5 kB / 0.6451 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.5497, allocations: 58.41 kB / 0.6451 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.5511, allocations: 0.6714 MB / 0.6458 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5511, allocations: 10.56 kB / 0.6458 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.5511, allocations: 0 / 0.6458 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/0.5523, allocations: 0.8141 MB / 0.6466 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.5545, allocations: 1.329 MB / 0.6479 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5545, allocations: 3.375 kB / 0.6479 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.5548, allocations: 69.55 kB / 0.6479 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.555, allocations: 48.36 kB / 0.648 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.555, allocations: 17.61 kB / 0.648 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003/0.5553, allocations: 0.5717 MB / 0.6486 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5553, allocations: 5.281 kB / 0.6486 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.5572, allocations: 1.004 MB / 0.6495 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.5575, allocations: 185.5 kB / 0.6497 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.5576, allocations: 16.25 kB / 0.6497 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.5582, allocations: 66.61 kB / 0.6498 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.5582, allocations: 23.84 kB / 0.6498 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.5583, allocations: 15.8 kB / 0.6498 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004235/0.5587, allocations: 349.7 kB / 0.6502 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5587, allocations: 0 / 0.6502 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001339/0.5601, allocations: 337.9 kB / 0.6505 GB, free: 15.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000744/0.5608, allocations: 318.4 kB / 0.6508 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.563, allocations: 0.9902 MB / 0.6518 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.563, allocations: 1 kB / 0.6518 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.5638, allocations: 339.8 kB / 0.6521 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.5654, allocations: 250.4 kB / 0.6523 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.5678, allocations: 1.423 MB / 0.6537 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.5681, allocations: 0.875 MB / 0.6546 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.5683, allocations: 56.25 kB / 0.6546 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.5683, allocations: 0 / 0.6546 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.02281/0.5912, allocations: 11.56 MB / 0.6659 GB, free: 11.52 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)