Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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 1.609/1.609, allocations: 287.4 MB / 302.6 MB, free: 8.273 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.001155/0.001155, allocations: 179.1 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007683/0.0007684, allocations: 98.62 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 15.75 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.5173/0.7103, allocations: 152.4 MB / 1.128 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.7153, allocations: 3.775 MB / 1.131 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.7158, allocations: 9.969 kB / 1.131 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.7165, allocations: 159.4 kB / 1.131 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.718, allocations: 0.5002 MB / 1.132 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7192, allocations: 407.1 kB / 1.132 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003193/0.7224, allocations: 3.326 MB / 1.136 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.725, allocations: 2.352 MB / 1.138 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.7273, allocations: 1.059 MB / 1.139 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.7287, allocations: 0.8512 MB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.7288, allocations: 45.22 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.7303, allocations: 0.5982 MB / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.7307, allocations: 326.6 kB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.7311, allocations: 254.2 kB / 1.141 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.7326, allocations: 1.175 MB / 1.142 GB, free: 14.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7326, allocations: 3.984 kB / 1.142 GB, free: 14.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7326, allocations: 0 / 1.142 GB, free: 14.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.7326, allocations: 0 / 1.142 GB, free: 14.54 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002618/0.7352, allocations: 1.509 MB / 1.144 GB, free: 13.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7353, allocations: 12.44 kB / 1.144 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.7354, allocations: 103.3 kB / 1.144 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.7362, allocations: 199.9 kB / 1.144 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.7377, allocations: 0.9126 MB / 1.145 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.7378, allocations: 49.66 kB / 1.145 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7379, allocations: 70.64 kB / 1.145 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.7395, allocations: 0.9865 MB / 1.146 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7396, allocations: 9.062 kB / 1.146 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.7396, allocations: 25.34 kB / 1.146 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.7397, allocations: 13.78 kB / 1.146 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.7409, allocations: 0.8009 MB / 1.147 GB, free: 12.14 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.004512/0.7454, allocations: 4.811 MB / 1.151 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.7478, allocations: 4.028 MB / 1.155 GB, free: 3.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.7483, allocations: 355.1 kB / 1.156 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.7486, allocations: 191.7 kB / 1.156 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.7491, allocations: 336.8 kB / 1.156 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003837/0.7495, allocations: 30.88 kB / 1.156 GB, free: 3.496 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.7495, allocations: 0 / 1.156 GB, free: 3.496 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005169/0.7547, allocations: 1.718 MB / 1.158 GB, free: 2.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.7547, allocations: 85.39 kB / 1.158 GB, free: 2.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.7563, allocations: 1.182 MB / 1.159 GB, free: 2.273 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.7564, allocations: 38.14 kB / 1.159 GB, free: 2.242 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.7568, allocations: 0.5051 MB / 1.16 GB, free: 2.027 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.7569, allocations: 128.8 kB / 1.16 GB, free: 1.934 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.7569, allocations: 8.875 kB / 1.16 GB, free: 1.934 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.757, allocations: 328.9 kB / 1.16 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.7574, allocations: 208.4 kB / 1.16 GB, free: 1.574 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.758, allocations: 0.532 MB / 1.161 GB, free: 1.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.7588, allocations: 0.6489 MB / 1.161 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7588, allocations: 1.969 kB / 1.161 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002427/0.7613, allocations: 1.073 MB / 1.162 GB, free: 392 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.7615, allocations: 281.1 kB / 1.163 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.7615, allocations: 5.75 kB / 1.163 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.7632, allocations: 443 kB / 1.163 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.7635, allocations: 75.36 kB / 1.163 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.7653, allocations: 1.142 MB / 1.164 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.7666, allocations: 99.98 kB / 1.164 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.7667, allocations: 23.09 kB / 1.164 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7667, allocations: 3.969 kB / 1.164 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/0.7683, allocations: 0.8096 MB / 1.165 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7683, allocations: 5.188 kB / 1.165 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.769, allocations: 253.1 kB / 1.165 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.7693, allocations: 79.97 kB / 1.166 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/0.773, allocations: 3.141 MB / 1.169 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.7741, allocations: 97.45 kB / 1.169 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.7742, allocations: 23.09 kB / 1.169 GB, free: 12.95 MB / 0.7136 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006862/0.7749, allocations: 483.9 kB / 1.169 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.775, allocations: 110.2 kB / 1.169 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.7765, allocations: 0.8185 MB / 1.17 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7765, allocations: 9.859 kB / 1.17 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7765, allocations: 4 kB / 1.17 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7765, allocations: 192 / 1.17 GB, free: 12.33 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.003166/0.7797, allocations: 2.172 MB / 1.172 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.7797, allocations: 6.172 kB / 1.172 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.78, allocations: 49.67 kB / 1.172 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.7804, allocations: 244.7 kB / 1.172 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.7804, allocations: 7.766 kB / 1.172 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/0.7812, allocations: 0.9463 MB / 1.173 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7813, allocations: 2.969 kB / 1.173 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.7824, allocations: 0.8808 MB / 1.174 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.7828, allocations: 234.4 kB / 1.175 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.7829, allocations: 11.41 kB / 1.175 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.7836, allocations: 77.97 kB / 1.175 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.7837, allocations: 42.55 kB / 1.175 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.7837, allocations: 8.844 kB / 1.175 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009002/0.7846, allocations: 0.8322 MB / 1.175 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7846, allocations: 0 / 1.175 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001261/0.7859, allocations: 0.5011 MB / 1.176 GB, free: 9.418 MB / 0.7136 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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): 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.7874, allocations: 1.409 MB / 1.177 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.7897, allocations: 1.294 MB / 1.179 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7897, allocations: 4.062 kB / 1.179 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.7903, allocations: 322.4 kB / 1.179 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/0.7936, allocations: 0.6484 MB / 1.18 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.8061, allocations: 7.159 MB / 1.187 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.8068, allocations: 1.212 MB / 1.188 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001064/0.8079, allocations: 327.9 kB / 1.188 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.8083, allocations: 361.4 kB / 1.188 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.8083, allocations: 0 / 1.188 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.773/1.581, allocations: 31.26 MB / 1.219 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.582, allocations: 269.1 kB / 1.219 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/4.403, allocations: 0 / 1.219 GB, free: 3.406 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)