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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.ConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",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.0009303/0.0009303, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009466/0.0009466, allocations: 177.3 kB / 15.95 MB, free: 216 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.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.967/0.967, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004659, allocations: 12 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 83.41 MB / 0.5974 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.3352/0.5416, allocations: 17.47 MB / 0.6144 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005706/0.5473, allocations: 4.674 MB / 0.619 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.548, allocations: 16.69 kB / 0.619 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.5488, allocations: 303.6 kB / 0.6193 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.5506, allocations: 0.8038 MB / 0.6201 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.5528, allocations: 0.9114 MB / 0.621 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.5542, allocations: 1.035 MB / 0.622 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004977/0.5547, allocations: 412.2 kB / 0.6224 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007038/0.5554, allocations: 0.5365 MB / 0.6229 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.5558, allocations: 325.4 kB / 0.6232 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.5558, allocations: 23.69 kB / 0.6232 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5572, allocations: 0.8409 MB / 0.624 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.5573, allocations: 116.2 kB / 0.6242 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.5575, allocations: 137.3 kB / 0.6243 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.5582, allocations: 0.8099 MB / 0.6251 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.5582, allocations: 0 / 0.6251 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5583, allocations: 2.438 kB / 0.6251 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.5583, allocations: 0 / 0.6251 GB, free: 30.04 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.001251/0.5595, allocations: 0.9118 MB / 0.626 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5596, allocations: 11.81 kB / 0.626 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.5597, allocations: 73.53 kB / 0.6261 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.5605, allocations: 202.5 kB / 0.6262 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.5612, allocations: 0.5053 MB / 0.6267 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.5615, allocations: 97.23 kB / 0.6268 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.5616, allocations: 41.55 kB / 0.6269 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.5624, allocations: 0.5024 MB / 0.6274 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.5624, allocations: 0 / 0.6274 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.5625, allocations: 13.66 kB / 0.6274 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.5625, allocations: 7.875 kB / 0.6274 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.5634, allocations: 429.7 kB / 0.6278 GB, free: 28.48 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.002421/0.5659, allocations: 2.312 MB / 0.63 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.5668, allocations: 396.2 kB / 0.6304 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.567, allocations: 340.4 kB / 0.6308 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.5676, allocations: 307.9 kB / 0.631 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.5676, allocations: 0 / 0.631 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002055/0.5697, allocations: 0.9753 MB / 0.632 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5697, allocations: 86.27 kB / 0.6321 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.5702, allocations: 0.491 MB / 0.6326 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.5702, allocations: 29.7 kB / 0.6326 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.5704, allocations: 283 kB / 0.6329 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.5705, allocations: 107.7 kB / 0.633 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.5705, allocations: 6.844 kB / 0.633 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5706, allocations: 367.1 kB / 0.6333 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.5711, allocations: 180.7 kB / 0.6335 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.5715, allocations: 266.9 kB / 0.6337 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.572, allocations: 222.5 kB / 0.634 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.572, allocations: 3.656 kB / 0.634 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001551/0.5736, allocations: 0.6329 MB / 0.6346 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.5738, allocations: 0.6507 MB / 0.6352 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5738, allocations: 2.875 kB / 0.6352 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/0.5742, allocations: 74.81 kB / 0.6353 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.5745, allocations: 82.27 kB / 0.6354 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003524/0.5749, allocations: 0.6023 MB / 0.636 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006808/0.5756, allocations: 79.33 kB / 0.636 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.5757, allocations: 22.95 kB / 0.6361 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.5757, allocations: 3.156 kB / 0.6361 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.577, allocations: 0.5534 MB / 0.6366 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.577, allocations: 0 / 0.6366 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.5772, allocations: 51.72 kB / 0.6366 GB, free: 22.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.5775, allocations: 84.38 kB / 0.6367 GB, free: 22.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5789, allocations: 1.637 MB / 0.6383 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.5795, allocations: 77.52 kB / 0.6384 GB, free: 20.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.5795, allocations: 21.17 kB / 0.6384 GB, free: 20.89 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.0003526/0.5799, allocations: 299.7 kB / 0.6387 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.58, allocations: 62.39 kB / 0.6388 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.5815, allocations: 0.6608 MB / 0.6394 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5815, allocations: 2.188 kB / 0.6394 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.5815, allocations: 0 / 0.6394 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.5827, allocations: 0.8297 MB / 0.6402 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.5848, allocations: 1.321 MB / 0.6415 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.5848, allocations: 7.312 kB / 0.6415 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.5852, allocations: 69 kB / 0.6416 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.5853, allocations: 52.84 kB / 0.6416 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.5853, allocations: 10.41 kB / 0.6416 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002835/0.5856, allocations: 0.5798 MB / 0.6422 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5857, allocations: 3.812 kB / 0.6422 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.5877, allocations: 1.035 MB / 0.6432 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.588, allocations: 185 kB / 0.6434 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.5881, allocations: 9.875 kB / 0.6434 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.5886, allocations: 74.62 kB / 0.6435 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.5887, allocations: 23.02 kB / 0.6435 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.5888, allocations: 18.06 kB / 0.6435 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003551/0.5891, allocations: 358.2 kB / 0.6439 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5891, allocations: 0 / 0.6439 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001123/0.5903, allocations: 345 kB / 0.6442 GB, free: 17.58 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.002595/0.5929, allocations: 1.952 MB / 0.6461 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.5949, allocations: 1.006 MB / 0.6471 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.595, allocations: 1.125 kB / 0.6471 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.5956, allocations: 337.1 kB / 0.6474 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5971, allocations: 237.4 kB / 0.6476 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/0.6048, allocations: 4.412 MB / 0.6519 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6052, allocations: 0.889 MB / 0.6528 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006332/0.6058, allocations: 131 kB / 0.6529 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.6061, allocations: 201 kB / 0.6531 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.373e-06/0.6061, allocations: 1.406 kB / 0.6531 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.6467, allocations: 16.45 MB / 0.6692 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.6469, allocations: 278.4 kB / 0.6694 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.797, allocations: 0 / 0.6694 GB, free: 9.719 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: