Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.001219/0.001219, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001337/0.001337, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7816/0.7816, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 69.2 kB / 0.5716 GB, free: 27.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1667, allocations: 78.56 MB / 0.6483 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01681/0.1835, allocations: 15.06 MB / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005768/0.1893, allocations: 3.891 MB / 0.6668 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.1898, allocations: 19.88 kB / 0.6669 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.1904, allocations: 186.7 kB / 0.667 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.192, allocations: 0.678 MB / 0.6677 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1933, allocations: 473.2 kB / 0.6682 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1947, allocations: 1.08 MB / 0.6692 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.1952, allocations: 285.5 kB / 0.6695 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.1959, allocations: 450.2 kB / 0.6699 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.1963, allocations: 258.8 kB / 0.6702 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.1963, allocations: 20 kB / 0.6702 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.1976, allocations: 0.7173 MB / 0.6709 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1977, allocations: 75.67 kB / 0.6709 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1979, allocations: 187 kB / 0.6711 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1989, allocations: 0.7162 MB / 0.6718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1989, allocations: 3.938 kB / 0.6718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.199, allocations: 4 kB / 0.6718 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.199, allocations: 0 / 0.6718 GB, free: 13.48 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001117/0.2001, allocations: 0.7621 MB / 0.6726 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2001, allocations: 12.03 kB / 0.6726 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.2002, allocations: 46.73 kB / 0.6726 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.2003, allocations: 48.66 kB / 0.6727 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.2013, allocations: 0.5168 MB / 0.6732 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2013, allocations: 20.31 kB / 0.6732 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2013, allocations: 20 kB / 0.6732 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.2017, allocations: 176.1 kB / 0.6734 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2017, allocations: 0 / 0.6734 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.2018, allocations: 8 kB / 0.6734 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2018, allocations: 4 kB / 0.6734 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.2021, allocations: 148.1 kB / 0.6735 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2033, allocations: 0.853 MB / 0.6744 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.2035, allocations: 130.6 kB / 0.6745 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2037, allocations: 72.81 kB / 0.6746 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.204, allocations: 336.4 kB / 0.6749 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.2041, allocations: 30.56 kB / 0.6749 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2041, allocations: 3.938 kB / 0.6749 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005716/0.2047, allocations: 221.6 kB / 0.6751 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2047, allocations: 51.41 kB / 0.6752 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2051, allocations: 349.7 kB / 0.6755 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.2051, allocations: 29.7 kB / 0.6755 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2053, allocations: 192.5 kB / 0.6757 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.2053, allocations: 43.61 kB / 0.6758 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.2054, allocations: 41.66 kB / 0.6758 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2056, allocations: 342.8 kB / 0.6761 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.2057, allocations: 52.75 kB / 0.6762 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.2059, allocations: 100.2 kB / 0.6763 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.2062, allocations: 113.7 kB / 0.6764 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2062, allocations: 0 / 0.6764 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003811/0.2066, allocations: 181.3 kB / 0.6766 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2066, allocations: 8 kB / 0.6766 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2066, allocations: 0 / 0.6766 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2067, allocations: 0 / 0.6766 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2068, allocations: 31.92 kB / 0.6766 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2068, allocations: 0 / 0.6766 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.207, allocations: 23.94 kB / 0.6766 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.207, allocations: 8.078 kB / 0.6766 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002224/0.2073, allocations: 156 kB / 0.6768 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001636/0.2074, allocations: 88.25 kB / 0.6769 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002659/0.2077, allocations: 113.6 kB / 0.677 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.2077, allocations: 0 / 0.677 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003597/0.2081, allocations: 177.3 kB / 0.6771 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.2081, allocations: 4 kB / 0.6771 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.2081, allocations: 3.984 kB / 0.6772 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.2081, allocations: 8 kB / 0.6772 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2082, allocations: 19.98 kB / 0.6772 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2082, allocations: 4 kB / 0.6772 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.2084, allocations: 23.88 kB / 0.6772 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2084, allocations: 7.938 kB / 0.6772 GB, free: 7.555 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.2086, allocations: 188.2 kB / 0.6774 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.2086, allocations: 43.69 kB / 0.6774 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.2091, allocations: 220.8 kB / 0.6776 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2092, allocations: 7.984 kB / 0.6777 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2092, allocations: 0 / 0.6777 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2092, allocations: 0 / 0.6777 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.2101, allocations: 0.6296 MB / 0.6783 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2101, allocations: 4 kB / 0.6783 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2102, allocations: 27.92 kB / 0.6783 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2102, allocations: 4 kB / 0.6783 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2102, allocations: 4 kB / 0.6783 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2103, allocations: 7.984 kB / 0.6783 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2103, allocations: 0 / 0.6783 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.2107, allocations: 320 kB / 0.6786 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.2108, allocations: 128.8 kB / 0.6787 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.2109, allocations: 7.938 kB / 0.6787 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2111, allocations: 11.98 kB / 0.6788 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.2112, allocations: 23.92 kB / 0.6788 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2112, allocations: 4 kB / 0.6788 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002582/0.2114, allocations: 247.2 kB / 0.679 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2114, allocations: 0 / 0.679 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006926/0.2121, allocations: 195.4 kB / 0.6792 GB, free: 5.395 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.2135, allocations: 0.9941 MB / 0.6802 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.214, allocations: 203.6 kB / 0.6804 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.214, allocations: 0 / 0.6804 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.2142, allocations: 75.89 kB / 0.6804 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/0.2151, allocations: 154.5 kB / 0.6806 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.2187, allocations: 2.716 MB / 0.6832 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2191, allocations: 0.7918 MB / 0.684 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.2194, allocations: 90.97 kB / 0.6841 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2195, allocations: 111.4 kB / 0.6842 GB, free: 112 kB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2195, allocations: 0 / 0.6842 GB, free: 112 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4348/0.6544, allocations: 10.06 MB / 0.694 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/10.04, allocations: 0.5938 kB / 0.694 GB, free: 6.25 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)