Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.673/2.673, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.3/2.3, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 96.05 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.0005322, allocations: 16.06 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2481, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 1.032/1.28, allocations: 135.7 MB / 1.111 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007281/1.288, allocations: 3.111 MB / 1.114 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007286/1.288, allocations: 9.156 kB / 1.114 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/1.29, allocations: 177 kB / 1.114 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003016/1.293, allocations: 0.4946 MB / 1.114 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/1.295, allocations: 447.8 kB / 1.115 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003555/1.299, allocations: 1.506 MB / 1.116 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/1.301, allocations: 0.7047 MB / 1.117 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/1.304, allocations: 0.6986 MB / 1.118 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/1.305, allocations: 489.5 kB / 1.118 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/1.306, allocations: 34.12 kB / 1.118 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/1.308, allocations: 427.9 kB / 1.119 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/1.309, allocations: 258.5 kB / 1.119 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/1.309, allocations: 230.8 kB / 1.119 GB, free: 16.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/1.312, allocations: 0.975 MB / 1.12 GB, free: 16.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.312, allocations: 0 / 1.12 GB, free: 16.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.877e-06/1.312, allocations: 0.8438 kB / 1.12 GB, free: 16.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.535e-05/1.312, allocations: 0 / 1.12 GB, free: 16.31 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004034/1.316, allocations: 1.287 MB / 1.121 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.316, allocations: 7.469 kB / 1.121 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003815/1.317, allocations: 95.5 kB / 1.121 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.318, allocations: 187.9 kB / 1.122 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/1.321, allocations: 0.8041 MB / 1.122 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/1.321, allocations: 43.19 kB / 1.122 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.321, allocations: 59.22 kB / 1.123 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/1.323, allocations: 0.7853 MB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.323, allocations: 6.438 kB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/1.324, allocations: 25.97 kB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/1.324, allocations: 13.41 kB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/1.325, allocations: 0.5366 MB / 1.124 GB, free: 14.8 MB / 0.698 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.007987/1.333, allocations: 4.606 MB / 1.128 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.335, allocations: 437.4 kB / 1.129 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.567e-05/1.335, allocations: 12.98 kB / 1.129 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008595/1.336, allocations: 307.2 kB / 1.129 GB, free: 11.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.898e-06/1.336, allocations: 2.656 kB / 1.129 GB, free: 11.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.009353/1.345, allocations: 1.65 MB / 1.131 GB, free: 10.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.345, allocations: 111.5 kB / 1.131 GB, free: 10.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.348, allocations: 1.117 MB / 1.132 GB, free: 10.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002086/1.348, allocations: 38.77 kB / 1.132 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/1.349, allocations: 489.1 kB / 1.132 GB, free: 10.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/1.349, allocations: 107.6 kB / 1.132 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/1.349, allocations: 9.031 kB / 1.132 GB, free: 10.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.349, allocations: 326 kB / 1.133 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/1.35, allocations: 183.3 kB / 1.133 GB, free: 10.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.351, allocations: 0.5 MB / 1.133 GB, free: 9.652 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000863/1.352, allocations: 295.2 kB / 1.134 GB, free: 9.555 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.352, allocations: 1.219 kB / 1.134 GB, free: 9.555 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004147/1.356, allocations: 0.9916 MB / 1.135 GB, free: 9.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001163/1.357, allocations: 2.122 MB / 1.137 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.358, allocations: 8.578 kB / 1.137 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/1.36, allocations: 363.5 kB / 1.137 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/1.361, allocations: 68.39 kB / 1.137 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/1.363, allocations: 1.087 MB / 1.138 GB, free: 6.137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.365, allocations: 107.8 kB / 1.138 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/1.365, allocations: 25.55 kB / 1.138 GB, free: 6.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.365, allocations: 8.281 kB / 1.138 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002604/1.368, allocations: 0.7354 MB / 1.139 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.368, allocations: 10.02 kB / 1.139 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/1.369, allocations: 223.3 kB / 1.139 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/1.37, allocations: 64.06 kB / 1.139 GB, free: 5.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/1.376, allocations: 3.108 MB / 1.142 GB, free: 3.941 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.378, allocations: 98.36 kB / 1.143 GB, free: 3.898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.378, allocations: 22.75 kB / 1.143 GB, free: 3.898 MB / 0.698 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 (34): * Single equations (assignments): 32 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.001153/1.379, allocations: 473.3 kB / 1.143 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/1.38, allocations: 98.84 kB / 1.143 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.382, allocations: 0.7061 MB / 1.144 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.382, allocations: 3.688 kB / 1.144 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.382, allocations: 1.719 kB / 1.144 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.382, allocations: 3.984 kB / 1.144 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/1.385, allocations: 1.097 MB / 1.145 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.386, allocations: 2.125 kB / 1.145 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/1.386, allocations: 26.14 kB / 1.145 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.387, allocations: 255.2 kB / 1.145 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/1.387, allocations: 7 kB / 1.145 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.389, allocations: 1.02 MB / 1.146 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.389, allocations: 9.422 kB / 1.146 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/1.392, allocations: 0.8643 MB / 1.147 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/1.392, allocations: 234.8 kB / 1.147 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.393, allocations: 6.188 kB / 1.147 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/1.394, allocations: 59 kB / 1.147 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.394, allocations: 28.77 kB / 1.147 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/1.394, allocations: 11.91 kB / 1.147 GB, free: 1.277 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002043/1.396, allocations: 0.7852 MB / 1.148 GB, free: 1.016 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.52e-07/1.396, allocations: 1.156 kB / 1.148 GB, free: 1.016 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002569/1.399, allocations: 449.2 kB / 1.149 GB, free: 0.9844 MB / 0.698 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003476/1.402, allocations: 1.855 MB / 1.15 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004858/1.407, allocations: 1.198 MB / 1.151 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.407, allocations: 3.094 kB / 1.152 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.408, allocations: 278.2 kB / 1.152 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/1.413, allocations: 464.4 kB / 1.152 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.438, allocations: 9.914 MB / 1.162 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.44, allocations: 1.205 MB / 1.163 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00198/1.442, allocations: 314.6 kB / 1.163 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/1.443, allocations: 309.8 kB / 1.164 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/1.443, allocations: 0 / 1.164 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09103/1.534, allocations: 27.56 MB / 1.191 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004265/1.534, allocations: 265.2 kB / 1.191 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.807/5.341, allocations: 2.672 kB / 1.191 GB, free: 3.555 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)