Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.001067/0.001067, allocations: 100.1 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.001172/0.001172, 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.096/1.096, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 8 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1816, allocations: 83.41 MB / 0.5974 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4366/0.6183, allocations: 135.7 MB / 0.7299 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.6213, allocations: 1.672 MB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.6216, allocations: 13.66 kB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.6223, allocations: 178.8 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.6237, allocations: 0.4999 MB / 0.7322 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.6249, allocations: 416.8 kB / 0.7326 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.6268, allocations: 1.489 MB / 0.734 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.628, allocations: 0.7017 MB / 0.7347 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.6296, allocations: 0.696 MB / 0.7354 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.6304, allocations: 488.3 kB / 0.7359 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.6305, allocations: 35.12 kB / 0.7359 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.6317, allocations: 422.5 kB / 0.7363 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.6319, allocations: 255.3 kB / 0.7366 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.6322, allocations: 229.1 kB / 0.7368 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.6334, allocations: 1.009 MB / 0.7378 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.6334, allocations: 0 / 0.7378 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.499e-06/0.6335, allocations: 4 kB / 0.7378 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.6335, allocations: 3.938 kB / 0.7378 GB, free: 11.2 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002339/0.6358, allocations: 1.279 MB / 0.739 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6359, allocations: 8.828 kB / 0.739 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.636, allocations: 98.22 kB / 0.7391 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.6368, allocations: 185.1 kB / 0.7393 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.6384, allocations: 0.7922 MB / 0.7401 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.6384, allocations: 49.66 kB / 0.7401 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.6385, allocations: 60 kB / 0.7402 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.6398, allocations: 0.7862 MB / 0.7409 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6398, allocations: 11.92 kB / 0.741 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.6399, allocations: 20.56 kB / 0.741 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6399, allocations: 16 kB / 0.741 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/0.6409, allocations: 0.5468 MB / 0.7415 GB, free: 7.695 MB / 0.5606 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.004284/0.6452, allocations: 4.608 MB / 0.746 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.646, allocations: 440.6 kB / 0.7464 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/0.6461, allocations: 9.969 kB / 0.7465 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005358/0.6467, allocations: 301 kB / 0.7467 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.6467, allocations: 0 / 0.7467 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001475/0.6482, allocations: 0.6475 MB / 0.7474 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.6483, allocations: 110.8 kB / 0.7475 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.6497, allocations: 1.11 MB / 0.7486 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.107e-05/0.6498, allocations: 37.7 kB / 0.7486 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.6503, allocations: 499.9 kB / 0.7491 GB, free: 24 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.6504, allocations: 106.5 kB / 0.7492 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.6504, allocations: 8 kB / 0.7492 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6506, allocations: 326.2 kB / 0.7495 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.651, allocations: 192.7 kB / 0.7497 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.6516, allocations: 0.4951 MB / 0.7502 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.6521, allocations: 291.5 kB / 0.7504 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6521, allocations: 4 kB / 0.7504 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001097/0.6532, allocations: 0.6854 MB / 0.7511 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009235/0.6541, allocations: 2.125 MB / 0.7532 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6542, allocations: 7.953 kB / 0.7532 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.6542, allocations: 12 kB / 0.7532 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.6562, allocations: 391.1 kB / 0.7536 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.6598, allocations: 6.087 MB / 0.7595 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.6607, allocations: 107.5 kB / 0.7596 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.6608, allocations: 23.94 kB / 0.7596 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.6608, allocations: 4.938 kB / 0.7597 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008971/0.6617, allocations: 0.5401 MB / 0.7602 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6617, allocations: 11.94 kB / 0.7602 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6617, allocations: 12.56 kB / 0.7602 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.6623, allocations: 160.2 kB / 0.7604 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.6623, allocations: 11.94 kB / 0.7604 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.663, allocations: 99.45 kB / 0.7605 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.663, allocations: 24 kB / 0.7605 GB, free: 3.781 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006549/0.6637, allocations: 468.7 kB / 0.7609 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.6638, allocations: 102.7 kB / 0.761 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/0.6647, allocations: 482.5 kB / 0.7615 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6647, allocations: 4 kB / 0.7615 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6647, allocations: 0 / 0.7615 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.6647, allocations: 4 kB / 0.7615 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.6664, allocations: 1.106 MB / 0.7626 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.6664, allocations: 8.031 kB / 0.7626 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.667, allocations: 146.5 kB / 0.7627 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.6671, allocations: 7.375 kB / 0.7627 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.6671, allocations: 8 kB / 0.7627 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/0.6702, allocations: 6.024 MB / 0.7686 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.6702, allocations: 7.938 kB / 0.7686 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.6713, allocations: 0.6293 MB / 0.7692 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.6717, allocations: 223.7 kB / 0.7695 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.6718, allocations: 8 kB / 0.7695 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.6723, allocations: 55.84 kB / 0.7695 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.6724, allocations: 39.83 kB / 0.7696 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.6724, allocations: 8 kB / 0.7696 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001065/0.6735, allocations: 0.7797 MB / 0.7703 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6735, allocations: 0 / 0.7703 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001206/0.6747, allocations: 419.4 kB / 0.7707 GB, free: 8.859 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.6767, allocations: 1.718 MB / 0.7724 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.6799, allocations: 1.113 MB / 0.7735 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6799, allocations: 0 / 0.7735 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008221/0.6808, allocations: 298 kB / 0.7738 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.683, allocations: 460.5 kB / 0.7742 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.6962, allocations: 9.609 MB / 0.7836 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.6971, allocations: 1.197 MB / 0.7848 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001086/0.6982, allocations: 375.5 kB / 0.7851 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.6986, allocations: 319.3 kB / 0.7854 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.6986, allocations: 0 / 0.7854 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04956/0.7481, allocations: 26.42 MB / 0.8112 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.7484, allocations: 274.8 kB / 0.8115 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.182, allocations: 0 / 0.8115 GB, free: 15.06 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: