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.0007084/0.0007084, allocations: 84.17 kB / 16.01 MB, free: 92 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.000713/0.000713, allocations: 186.5 kB / 16.92 MB, free: 6.68 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6525/0.6525, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8.594 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 77.54 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0144/0.1525, allocations: 14.46 MB / 0.5742 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.1575, allocations: 3.861 MB / 0.5779 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.1581, allocations: 19.88 kB / 0.578 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.1586, allocations: 155.1 kB / 0.5781 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.1603, allocations: 0.6106 MB / 0.5787 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1614, allocations: 437.4 kB / 0.5791 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.1631, allocations: 1.368 MB / 0.5805 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.1635, allocations: 236.9 kB / 0.5807 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007187/0.1642, allocations: 374.4 kB / 0.581 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.1646, allocations: 266.7 kB / 0.5813 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.1647, allocations: 12 kB / 0.5813 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1658, allocations: 0.69 MB / 0.582 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.1659, allocations: 63.64 kB / 0.582 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1661, allocations: 208.6 kB / 0.5822 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.1671, allocations: 0.6932 MB / 0.5829 GB, free: 1.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1671, allocations: 0 / 0.5829 GB, free: 1.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1671, allocations: 0 / 0.5829 GB, free: 1.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1671, allocations: 0 / 0.5829 GB, free: 1.453 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.001038/0.1682, allocations: 0.6853 MB / 0.5836 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1682, allocations: 8.031 kB / 0.5836 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1683, allocations: 54.67 kB / 0.5836 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.1684, allocations: 48.38 kB / 0.5837 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/0.1692, allocations: 0.4937 MB / 0.5842 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1692, allocations: 16.33 kB / 0.5842 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1693, allocations: 16 kB / 0.5842 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2465/0.4157, allocations: 178.4 kB / 0.5844 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4158, allocations: 0 / 0.5844 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4158, allocations: 8.438 kB / 0.5844 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4158, allocations: 4.469 kB / 0.5844 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.4162, allocations: 152.5 kB / 0.5845 GB, free: 32.34 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.001095/0.4173, allocations: 0.8614 MB / 0.5854 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.4176, allocations: 124.3 kB / 0.5855 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4178, allocations: 85 kB / 0.5856 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.418, allocations: 334.5 kB / 0.5859 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.418, allocations: 32.78 kB / 0.5859 GB, free: 31.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.418, allocations: 2.094 kB / 0.5859 GB, free: 31.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005742/0.4186, allocations: 237.6 kB / 0.5861 GB, free: 31.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.4187, allocations: 56.16 kB / 0.5862 GB, free: 31.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.419, allocations: 348.5 kB / 0.5865 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.419, allocations: 28.33 kB / 0.5866 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4192, allocations: 193.9 kB / 0.5867 GB, free: 31.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.4192, allocations: 43.28 kB / 0.5868 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.4192, allocations: 16.88 kB / 0.5868 GB, free: 31.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.4193, allocations: 346.7 kB / 0.5871 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4194, allocations: 51.25 kB / 0.5872 GB, free: 30.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.4196, allocations: 95.67 kB / 0.5873 GB, free: 30.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.4199, allocations: 132.9 kB / 0.5874 GB, free: 30.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4199, allocations: 0 / 0.5874 GB, free: 30.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003612/0.4203, allocations: 186.4 kB / 0.5876 GB, free: 30.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.4203, allocations: 100.5 kB / 0.5877 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4203, allocations: 1.828 kB / 0.5877 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4204, allocations: 0.9375 kB / 0.5877 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.4205, allocations: 31.45 kB / 0.5877 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4205, allocations: 8.469 kB / 0.5877 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.4207, allocations: 29.83 kB / 0.5877 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.4208, allocations: 8.156 kB / 0.5877 GB, free: 30.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/0.4208, allocations: 4.438 kB / 0.5878 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002969/0.4211, allocations: 122.9 kB / 0.5879 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.4211, allocations: 1.344 kB / 0.5879 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.4211, allocations: 1.031 kB / 0.5879 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4212, allocations: 31.16 kB / 0.5879 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.4212, allocations: 2.422 kB / 0.5879 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.4214, allocations: 34.12 kB / 0.5879 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.4215, allocations: 11.23 kB / 0.5879 GB, free: 30.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.4216, allocations: 222.7 kB / 0.5882 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.4216, allocations: 31.72 kB / 0.5882 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.4221, allocations: 239.5 kB / 0.5884 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.4221, allocations: 4.906 kB / 0.5884 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4221, allocations: 0 / 0.5884 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4222, allocations: 5.984 kB / 0.5884 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.423, allocations: 0.6402 MB / 0.5891 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.423, allocations: 1.188 kB / 0.5891 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4231, allocations: 27.12 kB / 0.5891 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4231, allocations: 5.578 kB / 0.5891 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4231, allocations: 3.188 kB / 0.5891 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4231, allocations: 9.484 kB / 0.5891 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4231, allocations: 1.344 kB / 0.5891 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.4236, allocations: 336.7 kB / 0.5894 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4237, allocations: 130 kB / 0.5895 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4237, allocations: 6.344 kB / 0.5896 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4239, allocations: 25.61 kB / 0.5896 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.424, allocations: 16.48 kB / 0.5896 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.424, allocations: 7.266 kB / 0.5896 GB, free: 29.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.4243, allocations: 245.7 kB / 0.5898 GB, free: 29.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4243, allocations: 3.969 kB / 0.5898 GB, free: 29.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005704/0.4249, allocations: 193.2 kB / 0.59 GB, free: 29.47 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 (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.0009918/0.4259, allocations: 1.001 MB / 0.591 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.4264, allocations: 200 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4264, allocations: 0.5938 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.4266, allocations: 87.47 kB / 0.5913 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.4275, allocations: 139.8 kB / 0.5914 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.4307, allocations: 2.898 MB / 0.5942 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.4309, allocations: 0.793 MB / 0.595 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.4312, allocations: 81.69 kB / 0.5951 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4313, allocations: 110.4 kB / 0.5952 GB, free: 26.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4313, allocations: 0 / 0.5952 GB, free: 26.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5191/0.9504, allocations: 9.473 MB / 0.6044 GB, free: 24.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.9506, allocations: 247.4 kB / 0.6047 GB, free: 23.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.971, allocations: 3.938 kB / 0.6047 GB, free: 23.88 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/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)