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.000967/0.000967, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009148/0.0009148, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.293 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.8631/0.8631, allocations: 143.2 MB / 434.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 12 kB / 0.5158 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 83.42 MB / 0.5972 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.2386/0.3663, allocations: 19.1 MB / 0.6159 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.3709, allocations: 5.048 MB / 0.6208 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.3712, allocations: 23.25 kB / 0.6208 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.3717, allocations: 252.4 kB / 0.6211 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3728, allocations: 0.7584 MB / 0.6218 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3741, allocations: 0.7522 MB / 0.6226 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3754, allocations: 1.95 MB / 0.6245 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.3758, allocations: 400.5 kB / 0.6248 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006023/0.3764, allocations: 0.5929 MB / 0.6254 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.3768, allocations: 479.6 kB / 0.6259 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.3769, allocations: 19.97 kB / 0.6259 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.378, allocations: 0.9584 MB / 0.6268 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3782, allocations: 115.3 kB / 0.6269 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.67e-05/0.3783, allocations: 138 kB / 0.6271 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.3789, allocations: 0.8474 MB / 0.6279 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.379, allocations: 4 kB / 0.6279 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.379, allocations: 2.5 kB / 0.6279 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.379, allocations: 0 / 0.6279 GB, free: 29.11 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.001048/0.38, allocations: 0.9329 MB / 0.6288 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.3801, allocations: 7.938 kB / 0.6288 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/0.3808, allocations: 201.1 kB / 0.629 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.3815, allocations: 0.5437 MB / 0.6296 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.3818, allocations: 95.61 kB / 0.6296 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.3818, allocations: 42.52 kB / 0.6297 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.3826, allocations: 0.4985 MB / 0.6302 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3826, allocations: 6.531 kB / 0.6302 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.3827, allocations: 10.28 kB / 0.6302 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.3827, allocations: 15.12 kB / 0.6302 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.3835, allocations: 425.1 kB / 0.6306 GB, free: 27.59 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.002109/0.3856, allocations: 2.303 MB / 0.6329 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/0.3864, allocations: 388.5 kB / 0.6332 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.3868, allocations: 238.5 kB / 0.6335 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.387, allocations: 339.9 kB / 0.6338 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.3874, allocations: 311.2 kB / 0.6341 GB, free: 25.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.3874, allocations: 0 / 0.6341 GB, free: 25.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001714/0.3892, allocations: 0.889 MB / 0.6349 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3892, allocations: 83.95 kB / 0.635 GB, free: 24.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.3896, allocations: 490.5 kB / 0.6355 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3896, allocations: 35.23 kB / 0.6355 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3898, allocations: 278.5 kB / 0.6358 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.3899, allocations: 112.2 kB / 0.6359 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.3899, allocations: 4 kB / 0.6359 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.39, allocations: 365.7 kB / 0.6363 GB, free: 23.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3903, allocations: 176.8 kB / 0.6364 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3907, allocations: 272.6 kB / 0.6367 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.3911, allocations: 224.2 kB / 0.6369 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3911, allocations: 7.938 kB / 0.6369 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001053/0.3921, allocations: 0.644 MB / 0.6375 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.3922, allocations: 164.5 kB / 0.6377 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3922, allocations: 14.23 kB / 0.6377 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.3925, allocations: 63.83 kB / 0.6378 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.3928, allocations: 84.17 kB / 0.6378 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002701/0.3931, allocations: 0.597 MB / 0.6384 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.3935, allocations: 75.03 kB / 0.6385 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.3935, allocations: 24.53 kB / 0.6385 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.3935, allocations: 2.906 kB / 0.6385 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009185/0.3944, allocations: 0.5574 MB / 0.6391 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3945, allocations: 3.188 kB / 0.6391 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.3946, allocations: 53.81 kB / 0.6391 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.3949, allocations: 77.92 kB / 0.6392 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/0.3958, allocations: 1.641 MB / 0.6408 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.3961, allocations: 76.62 kB / 0.6409 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.3962, allocations: 20.5 kB / 0.6409 GB, free: 20.52 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.3964, allocations: 290.2 kB / 0.6412 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.3964, allocations: 56.47 kB / 0.6412 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3975, allocations: 0.6608 MB / 0.6419 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3975, allocations: 9.5 kB / 0.6419 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3975, allocations: 0 / 0.6419 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009444/0.3985, allocations: 0.8201 MB / 0.6427 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.4002, allocations: 1.329 MB / 0.644 GB, free: 18.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4002, allocations: 3.938 kB / 0.644 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.4005, allocations: 73.2 kB / 0.644 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.935e-05/0.4006, allocations: 37.14 kB / 0.6441 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.4006, allocations: 12.5 kB / 0.6441 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002279/0.4009, allocations: 0.5843 MB / 0.6447 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4009, allocations: 0 / 0.6447 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.4023, allocations: 0.9962 MB / 0.6456 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.4025, allocations: 187.8 kB / 0.6458 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.4025, allocations: 12.27 kB / 0.6458 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.403, allocations: 65.69 kB / 0.6459 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4031, allocations: 21.64 kB / 0.6459 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.4031, allocations: 22.55 kB / 0.6459 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002759/0.4034, allocations: 344.9 kB / 0.6463 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4034, allocations: 1.312 kB / 0.6463 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009412/0.4043, allocations: 341.8 kB / 0.6466 GB, free: 17.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005035/0.4048, allocations: 298.4 kB / 0.6469 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.4065, allocations: 1.001 MB / 0.6479 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4065, allocations: 1.438 kB / 0.6479 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.407, allocations: 327.6 kB / 0.6482 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.4081, allocations: 250 kB / 0.6484 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4098, allocations: 1.346 MB / 0.6497 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.4101, allocations: 0.8804 MB / 0.6506 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.4106, allocations: 138.2 kB / 0.6507 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4107, allocations: 51.2 kB / 0.6508 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4107, allocations: 0.5 kB / 0.6508 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.01679/0.4275, allocations: 10.81 MB / 0.6613 GB, free: 13.95 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)