Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.001099/0.001099, 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.001028/0.001028, 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.056/1.056, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1776, allocations: 83.41 MB / 0.5974 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.5082/0.6859, allocations: 135.7 MB / 0.7299 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005015/0.6909, allocations: 3.113 MB / 0.7329 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.6914, allocations: 7.062 kB / 0.7329 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.6921, allocations: 189.1 kB / 0.7331 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.6938, allocations: 0.5003 MB / 0.7336 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.6954, allocations: 446.3 kB / 0.734 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.6976, allocations: 1.505 MB / 0.7355 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.6987, allocations: 0.707 MB / 0.7362 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.7001, allocations: 0.7058 MB / 0.7369 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.7007, allocations: 486.6 kB / 0.7373 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.7008, allocations: 32 kB / 0.7374 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.702, allocations: 420.8 kB / 0.7378 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.7023, allocations: 260.1 kB / 0.738 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.7025, allocations: 233.1 kB / 0.7382 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.7037, allocations: 1.009 MB / 0.7392 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7037, allocations: 0 / 0.7392 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7037, allocations: 0 / 0.7392 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.7038, allocations: 4 kB / 0.7392 GB, free: 9.898 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002182/0.7059, allocations: 1.29 MB / 0.7405 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.706, allocations: 8.031 kB / 0.7405 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.7061, allocations: 95.03 kB / 0.7406 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007572/0.7069, allocations: 186.2 kB / 0.7408 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.7084, allocations: 0.8028 MB / 0.7416 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.7085, allocations: 41.75 kB / 0.7416 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.7086, allocations: 60 kB / 0.7416 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.7098, allocations: 0.7909 MB / 0.7424 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.7098, allocations: 7.625 kB / 0.7424 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.7099, allocations: 20 kB / 0.7424 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.7099, allocations: 16 kB / 0.7425 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009137/0.7108, allocations: 0.539 MB / 0.743 GB, free: 6.391 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.00405/0.7149, allocations: 4.612 MB / 0.7475 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.7156, allocations: 437.6 kB / 0.7479 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.7157, allocations: 15.98 kB / 0.7479 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.7162, allocations: 309.8 kB / 0.7482 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.7162, allocations: 0 / 0.7482 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.00481/0.721, allocations: 1.657 MB / 0.7498 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.7211, allocations: 110.7 kB / 0.7499 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.7225, allocations: 1.118 MB / 0.751 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.7226, allocations: 37.7 kB / 0.7511 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.723, allocations: 484.2 kB / 0.7515 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.7231, allocations: 114.5 kB / 0.7516 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.7231, allocations: 12 kB / 0.7517 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7232, allocations: 326 kB / 0.752 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.7236, allocations: 184.7 kB / 0.7521 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.7241, allocations: 0.494 MB / 0.7526 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.7245, allocations: 295.5 kB / 0.7529 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7245, allocations: 0 / 0.7529 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002048/0.7266, allocations: 0.9903 MB / 0.7539 GB, free: 11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007836/0.7274, allocations: 2.133 MB / 0.756 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.7274, allocations: 8 kB / 0.756 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.7286, allocations: 362.8 kB / 0.7563 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.7289, allocations: 67.84 kB / 0.7564 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.7302, allocations: 1.096 MB / 0.7574 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.7311, allocations: 108.9 kB / 0.7575 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.7311, allocations: 20 kB / 0.7576 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.7312, allocations: 4 kB / 0.7576 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.7325, allocations: 0.744 MB / 0.7583 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.7325, allocations: 4 kB / 0.7583 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.733, allocations: 228.7 kB / 0.7585 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.7332, allocations: 63.91 kB / 0.7586 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.7368, allocations: 3.105 MB / 0.7616 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/0.7377, allocations: 91.59 kB / 0.7617 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.7378, allocations: 23.98 kB / 0.7617 GB, free: 2.617 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 (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.0007072/0.7385, allocations: 468.9 kB / 0.7622 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.7387, allocations: 106.7 kB / 0.7623 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.7399, allocations: 0.694 MB / 0.7629 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.7399, allocations: 4.5 kB / 0.763 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7399, allocations: 4 kB / 0.763 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.7399, allocations: 0 / 0.763 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.7415, allocations: 1.107 MB / 0.764 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7415, allocations: 0.5625 kB / 0.764 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.7416, allocations: 27.92 kB / 0.7641 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.7422, allocations: 254.2 kB / 0.7643 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.7422, allocations: 12.55 kB / 0.7643 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009693/0.7432, allocations: 1.032 MB / 0.7653 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7432, allocations: 4 kB / 0.7653 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.7444, allocations: 0.8484 MB / 0.7662 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.7448, allocations: 223.8 kB / 0.7664 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7449, allocations: 14.44 kB / 0.7664 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.7454, allocations: 63.73 kB / 0.7664 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.7456, allocations: 27.97 kB / 0.7665 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.7456, allocations: 15.98 kB / 0.7665 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001056/0.7467, allocations: 0.7877 MB / 0.7673 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.683e-06/0.7467, allocations: 0 / 0.7673 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001444/0.7481, allocations: 443.5 kB / 0.7677 GB, free: 12.27 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 (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.002006/0.7501, allocations: 1.87 MB / 0.7695 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.7527, allocations: 1.196 MB / 0.7707 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7527, allocations: 0 / 0.7707 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.7533, allocations: 288 kB / 0.771 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.7553, allocations: 458.7 kB / 0.7714 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.7686, allocations: 9.908 MB / 0.7811 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.7694, allocations: 1.208 MB / 0.7822 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.7703, allocations: 315.6 kB / 0.7825 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.7707, allocations: 307.3 kB / 0.7828 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of SimCode: time 1.233e-06/0.7707, allocations: 7.938 kB / 0.7828 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0451/0.8158, allocations: 27.62 MB / 0.8098 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.8161, allocations: 271.8 kB / 0.8101 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.148, allocations: 2.953 kB / 0.8101 GB, free: 0.7695 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: