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.001073/0.001073, allocations: 95.88 kB / 15.68 MB, free: 488 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.001003/0.001003, allocations: 174.7 kB / 16.56 MB, free: 6.391 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.162/1.162, allocations: 223.2 MB / 240.5 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6193/0.6193, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01169/0.1347, allocations: 12.6 MB / 0.569 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.1391, allocations: 3.34 MB / 0.5723 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.1395, allocations: 19.88 kB / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.1401, allocations: 175.1 kB / 0.5725 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1417, allocations: 0.6661 MB / 0.5731 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.143, allocations: 0.5365 MB / 0.5736 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1442, allocations: 0.7294 MB / 0.5744 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.1445, allocations: 232.7 kB / 0.5746 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.1451, allocations: 330.9 kB / 0.5749 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1453, allocations: 191.1 kB / 0.5751 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.1454, allocations: 12 kB / 0.5751 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008787/0.1462, allocations: 0.4992 MB / 0.5756 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.1463, allocations: 55.75 kB / 0.5756 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.1464, allocations: 93.52 kB / 0.5757 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.1469, allocations: 447.3 kB / 0.5761 GB, free: 7.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.147, allocations: 0 / 0.5761 GB, free: 7.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.147, allocations: 0 / 0.5761 GB, free: 7.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.147, allocations: 4 kB / 0.5761 GB, free: 7.758 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.0009882/0.148, allocations: 0.6733 MB / 0.5768 GB, free: 7.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.148, allocations: 12.03 kB / 0.5768 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.1481, allocations: 46.55 kB / 0.5769 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.1482, allocations: 47.44 kB / 0.5769 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.1489, allocations: 417.3 kB / 0.5773 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1489, allocations: 12.33 kB / 0.5773 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.149, allocations: 23.95 kB / 0.5773 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.1493, allocations: 180.9 kB / 0.5775 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1494, allocations: 3.938 kB / 0.5775 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1494, allocations: 8 kB / 0.5775 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1494, allocations: 4 kB / 0.5775 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1497, allocations: 152.1 kB / 0.5777 GB, free: 6.094 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.001085/0.1508, allocations: 0.884 MB / 0.5785 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1511, allocations: 138.5 kB / 0.5787 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.1514, allocations: 336.4 kB / 0.579 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1515, allocations: 34.56 kB / 0.579 GB, free: 4.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.1515, allocations: 0 / 0.579 GB, free: 4.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005461/0.152, allocations: 233.4 kB / 0.5792 GB, free: 4.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1521, allocations: 55.41 kB / 0.5793 GB, free: 4.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.1524, allocations: 369.7 kB / 0.5796 GB, free: 3.852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1525, allocations: 29.7 kB / 0.5797 GB, free: 3.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1526, allocations: 196.2 kB / 0.5799 GB, free: 3.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1527, allocations: 39.45 kB / 0.5799 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.1527, allocations: 0 / 0.5799 GB, free: 3.582 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1528, allocations: 346.8 kB / 0.5802 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1529, allocations: 51.95 kB / 0.5803 GB, free: 3.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1531, allocations: 92.25 kB / 0.5804 GB, free: 3.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1533, allocations: 55.97 kB / 0.5804 GB, free: 3.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1533, allocations: 3.938 kB / 0.5804 GB, free: 3.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000348/0.1536, allocations: 181.2 kB / 0.5806 GB, free: 2.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.1537, allocations: 189.9 kB / 0.5808 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1537, allocations: 0 / 0.5808 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1537, allocations: 0 / 0.5808 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1539, allocations: 31.98 kB / 0.5808 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1539, allocations: 3.953 kB / 0.5808 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1541, allocations: 35.81 kB / 0.5809 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1542, allocations: 4.094 kB / 0.5809 GB, free: 2.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.1542, allocations: 7.938 kB / 0.5809 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000278/0.1545, allocations: 127.9 kB / 0.581 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-06/0.1545, allocations: 0 / 0.581 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-06/0.1545, allocations: 0 / 0.581 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1546, allocations: 31.92 kB / 0.581 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1546, allocations: 7.984 kB / 0.581 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.1548, allocations: 31.61 kB / 0.5811 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1549, allocations: 7.984 kB / 0.5811 GB, free: 2.355 MB / 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.0001674/0.155, allocations: 221.1 kB / 0.5813 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.1551, allocations: 35.61 kB / 0.5813 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.1556, allocations: 242 kB / 0.5815 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1556, allocations: 0 / 0.5815 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1556, allocations: 0 / 0.5815 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1556, allocations: 4 kB / 0.5815 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/0.1565, allocations: 0.649 MB / 0.5822 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1565, allocations: 4 kB / 0.5822 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1566, allocations: 27.92 kB / 0.5822 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1566, allocations: 4 kB / 0.5822 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1566, allocations: 4.094 kB / 0.5822 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1567, allocations: 12.09 kB / 0.5822 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1567, allocations: 4 kB / 0.5822 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1571, allocations: 366.6 kB / 0.5826 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1573, allocations: 136.6 kB / 0.5827 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.1573, allocations: 7.953 kB / 0.5827 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1575, allocations: 31.91 kB / 0.5827 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1576, allocations: 7.984 kB / 0.5828 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1576, allocations: 8 kB / 0.5828 GB, free: 476 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.1579, allocations: 263.2 kB / 0.583 GB, free: 212 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1579, allocations: 0 / 0.583 GB, free: 212 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.1585, allocations: 195.6 kB / 0.5832 GB, free: 16 kB / 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.2977/0.4562, allocations: 1.245 MB / 0.5844 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.4571, allocations: 201.7 kB / 0.5846 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4571, allocations: 1.438 kB / 0.5846 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.4574, allocations: 94.25 kB / 0.5847 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4586, allocations: 142.9 kB / 0.5848 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.4629, allocations: 1.983 MB / 0.5868 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4633, allocations: 0.8033 MB / 0.5876 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.4637, allocations: 76.38 kB / 0.5876 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4639, allocations: 114 kB / 0.5877 GB, free: 31.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.664e-06/0.4639, allocations: 3.844 kB / 0.5877 GB, free: 31.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09053/0.5544, allocations: 9.977 MB / 0.5975 GB, free: 30.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.5547, allocations: 233.2 kB / 0.5977 GB, free: 29.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.786, allocations: 0 / 0.5977 GB, free: 29.95 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: