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.0007848/0.0007852, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 173.5 kB / 16.58 MB, free: 5.945 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.244/1.244, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.632/0.632, allocations: 113.7 MB / 405.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 16.8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01223/0.1422, allocations: 13.75 MB / 0.5703 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004534/0.1468, allocations: 3.618 MB / 0.5738 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.1471, allocations: 19.88 kB / 0.5739 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1476, allocations: 135.1 kB / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1487, allocations: 0.5676 MB / 0.5745 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.1497, allocations: 406.4 kB / 0.5749 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.151, allocations: 1.201 MB / 0.5761 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.1513, allocations: 224.6 kB / 0.5763 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.1518, allocations: 346.5 kB / 0.5767 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.1521, allocations: 254.8 kB / 0.5769 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1521, allocations: 12 kB / 0.5769 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.153, allocations: 0.6354 MB / 0.5775 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.1531, allocations: 55.73 kB / 0.5776 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.1532, allocations: 97.45 kB / 0.5777 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.1537, allocations: 487 kB / 0.5781 GB, free: 5.844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1538, allocations: 3.938 kB / 0.5781 GB, free: 5.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1538, allocations: 0 / 0.5781 GB, free: 5.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1538, allocations: 8 kB / 0.5782 GB, free: 5.832 MB / 446.1 MB 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.0008722/0.1547, allocations: 0.6812 MB / 0.5788 GB, free: 5.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1547, allocations: 8.031 kB / 0.5788 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.1548, allocations: 50.55 kB / 0.5789 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1548, allocations: 43.44 kB / 0.5789 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1559, allocations: 492.9 kB / 0.5794 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1559, allocations: 16.33 kB / 0.5794 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1559, allocations: 19.95 kB / 0.5794 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1563, allocations: 184.9 kB / 0.5796 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1563, allocations: 0 / 0.5796 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1563, allocations: 4 kB / 0.5796 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1563, allocations: 4 kB / 0.5796 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.1566, allocations: 152.2 kB / 0.5797 GB, free: 4.098 MB / 446.1 MB 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.0009814/0.1576, allocations: 0.8645 MB / 0.5806 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1578, allocations: 126.6 kB / 0.5807 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.158, allocations: 76.81 kB / 0.5808 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.1583, allocations: 336.4 kB / 0.5811 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1583, allocations: 38.5 kB / 0.5811 GB, free: 2.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1583, allocations: 0 / 0.5811 GB, free: 2.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004908/0.1588, allocations: 229.2 kB / 0.5814 GB, free: 2.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1589, allocations: 51.41 kB / 0.5814 GB, free: 2.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.1592, allocations: 349.6 kB / 0.5817 GB, free: 1.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1592, allocations: 29.7 kB / 0.5818 GB, free: 1.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1593, allocations: 196.3 kB / 0.582 GB, free: 1.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1594, allocations: 39.39 kB / 0.582 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.1594, allocations: 8 kB / 0.582 GB, free: 1.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1595, allocations: 342.8 kB / 0.5823 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1596, allocations: 51.95 kB / 0.5824 GB, free: 1.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1598, allocations: 92.19 kB / 0.5825 GB, free: 1.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1599, allocations: 51.97 kB / 0.5825 GB, free: 1.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1599, allocations: 0 / 0.5825 GB, free: 1.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003198/0.1603, allocations: 189.1 kB / 0.5827 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.1603, allocations: 93.86 kB / 0.5828 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1603, allocations: 4 kB / 0.5828 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1604, allocations: 7.984 kB / 0.5828 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1605, allocations: 31.92 kB / 0.5828 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1605, allocations: 4 kB / 0.5828 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1607, allocations: 31.83 kB / 0.5829 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1607, allocations: 4.062 kB / 0.5829 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.1607, allocations: 8 kB / 0.5829 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002609/0.161, allocations: 123.9 kB / 0.583 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.161, allocations: 0 / 0.583 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.161, allocations: 4 kB / 0.583 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.1611, allocations: 27.98 kB / 0.583 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.1611, allocations: 0 / 0.583 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1613, allocations: 35.84 kB / 0.5831 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1613, allocations: 4 kB / 0.5831 GB, free: 440 kB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.1615, allocations: 225.8 kB / 0.5833 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.1615, allocations: 43.48 kB / 0.5833 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2315/0.3931, allocations: 230.5 kB / 0.5835 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.3931, allocations: 2.719 kB / 0.5835 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3931, allocations: 1.797 kB / 0.5835 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3931, allocations: 1.688 kB / 0.5835 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.3942, allocations: 0.6422 MB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3942, allocations: 1.094 kB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3943, allocations: 28.2 kB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3943, allocations: 1.875 kB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3943, allocations: 6.094 kB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3943, allocations: 2.188 kB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3943, allocations: 1.625 kB / 0.5842 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.3947, allocations: 336.1 kB / 0.5845 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.3948, allocations: 129.8 kB / 0.5847 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.3949, allocations: 5.219 kB / 0.5847 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3951, allocations: 25.84 kB / 0.5847 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3951, allocations: 16.23 kB / 0.5847 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3952, allocations: 4.766 kB / 0.5847 GB, free: 33.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.3954, allocations: 244 kB / 0.5849 GB, free: 33.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3954, allocations: 0 / 0.5849 GB, free: 33.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.396, allocations: 198.3 kB / 0.5851 GB, free: 33.66 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008878/0.3969, allocations: 0.991 MB / 0.5861 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.3974, allocations: 203 kB / 0.5863 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3974, allocations: 0 / 0.5863 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3976, allocations: 82.61 kB / 0.5864 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.3983, allocations: 151 kB / 0.5865 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.4008, allocations: 1.773 MB / 0.5882 GB, free: 32.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.401, allocations: 0.7947 MB / 0.589 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.4013, allocations: 71.28 kB / 0.5891 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.4015, allocations: 116.4 kB / 0.5892 GB, free: 31.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4015, allocations: 0.5938 kB / 0.5892 GB, free: 31.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.4251, allocations: 9.56 MB / 0.5985 GB, free: 30.06 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.4253, allocations: 234.2 kB / 0.5988 GB, free: 29.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.173, allocations: 0 / 0.5988 GB, free: 29.82 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: