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.001247/0.001247, allocations: 104.4 kB / 16.4 MB, free: 6.445 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.001182/0.001182, allocations: 195.9 kB / 17.34 MB, free: 5.707 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7073/0.7073, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.36 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01798/0.1779, allocations: 15.03 MB / 0.6462 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.1836, allocations: 3.894 MB / 0.65 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.1843, allocations: 19.88 kB / 0.6501 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.1851, allocations: 186.7 kB / 0.6502 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.1871, allocations: 0.6764 MB / 0.6509 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1886, allocations: 483.8 kB / 0.6514 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1904, allocations: 1.09 MB / 0.6524 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.1909, allocations: 281.5 kB / 0.6527 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.1918, allocations: 414.4 kB / 0.6531 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.1923, allocations: 258.8 kB / 0.6533 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.1923, allocations: 28 kB / 0.6534 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1937, allocations: 0.7212 MB / 0.6541 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1938, allocations: 71.69 kB / 0.6541 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.194, allocations: 187 kB / 0.6543 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1952, allocations: 0.7175 MB / 0.655 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1953, allocations: 0 / 0.655 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1953, allocations: 0 / 0.655 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.1953, allocations: 0 / 0.655 GB, free: 12.84 MB / 0.4981 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.001317/0.1966, allocations: 0.7513 MB / 0.6558 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1966, allocations: 8.031 kB / 0.6558 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.1967, allocations: 54.73 kB / 0.6558 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1968, allocations: 40.47 kB / 0.6559 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1979, allocations: 0.5094 MB / 0.6563 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.198, allocations: 12.33 kB / 0.6564 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.198, allocations: 20 kB / 0.6564 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1984, allocations: 180.1 kB / 0.6566 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1984, allocations: 0 / 0.6566 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.1985, allocations: 8 kB / 0.6566 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1985, allocations: 4 kB / 0.6566 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.1988, allocations: 140.2 kB / 0.6567 GB, free: 11.01 MB / 0.4981 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.001244/0.2001, allocations: 0.8644 MB / 0.6575 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.2004, allocations: 118.6 kB / 0.6577 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2006, allocations: 72.81 kB / 0.6577 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.2009, allocations: 340.4 kB / 0.658 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2009, allocations: 38.5 kB / 0.6581 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2009, allocations: 0 / 0.6581 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005865/0.2015, allocations: 229 kB / 0.6583 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2015, allocations: 51.41 kB / 0.6584 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.2019, allocations: 345.7 kB / 0.6587 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2019, allocations: 33.64 kB / 0.6587 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2021, allocations: 192.3 kB / 0.6589 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.2021, allocations: 35.45 kB / 0.6589 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.2022, allocations: 37.61 kB / 0.659 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2023, allocations: 342.8 kB / 0.6593 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2025, allocations: 52.81 kB / 0.6593 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2027, allocations: 92.19 kB / 0.6594 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.2029, allocations: 121.6 kB / 0.6595 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.203, allocations: 0 / 0.6595 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003807/0.2033, allocations: 173.2 kB / 0.6597 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2034, allocations: 11.94 kB / 0.6597 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2034, allocations: 0 / 0.6597 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2034, allocations: 0 / 0.6597 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2036, allocations: 27.92 kB / 0.6598 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2036, allocations: 0 / 0.6598 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.2038, allocations: 31.81 kB / 0.6598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2038, allocations: 4 kB / 0.6598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002071/0.204, allocations: 160.1 kB / 0.6599 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001539/0.2042, allocations: 84.25 kB / 0.66 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002508/0.2044, allocations: 125.6 kB / 0.6601 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.2045, allocations: 0 / 0.6601 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003457/0.2048, allocations: 169.2 kB / 0.6603 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.2048, allocations: 5.719 kB / 0.6603 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2048, allocations: 3.938 kB / 0.6603 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.2048, allocations: 0 / 0.6603 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.205, allocations: 27.98 kB / 0.6603 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.205, allocations: 0 / 0.6603 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2052, allocations: 19.98 kB / 0.6604 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2052, allocations: 11.98 kB / 0.6604 GB, free: 6.938 MB / 0.4981 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 9.818e-05/0.2053, allocations: 191.7 kB / 0.6605 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.2054, allocations: 39.47 kB / 0.6606 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.2058, allocations: 221.5 kB / 0.6608 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2059, allocations: 11.98 kB / 0.6608 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2059, allocations: 0 / 0.6608 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2059, allocations: 128 / 0.6608 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.2068, allocations: 0.6396 MB / 0.6614 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2069, allocations: 3.938 kB / 0.6614 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.207, allocations: 28.08 kB / 0.6615 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.207, allocations: 7.984 kB / 0.6615 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.207, allocations: 0 / 0.6615 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.207, allocations: 7.938 kB / 0.6615 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.207, allocations: 0 / 0.6615 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.2075, allocations: 317.5 kB / 0.6618 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2076, allocations: 124.7 kB / 0.6619 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.2077, allocations: 0 / 0.6619 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2079, allocations: 15.98 kB / 0.6619 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.208, allocations: 15.92 kB / 0.6619 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.208, allocations: 11.98 kB / 0.6619 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000245/0.2082, allocations: 251.1 kB / 0.6622 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2082, allocations: 0 / 0.6622 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005916/0.2088, allocations: 187.6 kB / 0.6624 GB, free: 4.781 MB / 0.4981 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.001214/0.2101, allocations: 0.9926 MB / 0.6633 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.2106, allocations: 187.8 kB / 0.6635 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2106, allocations: 0 / 0.6635 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.2108, allocations: 79.83 kB / 0.6636 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.2116, allocations: 153.3 kB / 0.6637 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.2153, allocations: 2.713 MB / 0.6664 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2157, allocations: 0.7918 MB / 0.6672 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002478/0.2159, allocations: 79.03 kB / 0.6672 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.2161, allocations: 115.3 kB / 0.6673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.2161, allocations: 0 / 0.6673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.2498, allocations: 10.2 MB / 0.6773 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.196, allocations: 7.922 kB / 0.6773 GB, free: 5.527 MB / 0.5137 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)