Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_IDEAS_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.008466/0.008467, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.00179/0.001791, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4897, allocations: 80.9 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01435/0.5041, allocations: 15.06 MB / 0.6788 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.5098, allocations: 3.888 MB / 0.6826 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.5104, allocations: 17.72 kB / 0.6827 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.511, allocations: 190.5 kB / 0.6828 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.5129, allocations: 0.6779 MB / 0.6835 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.5143, allocations: 482.4 kB / 0.684 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.5161, allocations: 1.08 MB / 0.685 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.5166, allocations: 285.4 kB / 0.6853 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.5174, allocations: 410.9 kB / 0.6857 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.5178, allocations: 272 kB / 0.6859 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.5179, allocations: 20.78 kB / 0.686 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.5193, allocations: 0.715 MB / 0.6867 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.5194, allocations: 71.12 kB / 0.6867 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.5197, allocations: 187.5 kB / 0.6869 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.5208, allocations: 0.7318 MB / 0.6876 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5208, allocations: 1.375 kB / 0.6876 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5208, allocations: 0 / 0.6876 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.5208, allocations: 4 kB / 0.6876 GB, free: 4.801 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.001189/0.522, allocations: 0.7374 MB / 0.6883 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5221, allocations: 10.25 kB / 0.6884 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.5221, allocations: 52.8 kB / 0.6884 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5223, allocations: 40.66 kB / 0.6884 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5233, allocations: 0.5323 MB / 0.689 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5233, allocations: 11.7 kB / 0.689 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.5234, allocations: 21.34 kB / 0.689 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.5237, allocations: 174.4 kB / 0.6892 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5237, allocations: 1.188 kB / 0.6892 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.5238, allocations: 5.125 kB / 0.6892 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.5238, allocations: 8.344 kB / 0.6892 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.5241, allocations: 145.8 kB / 0.6893 GB, free: 3.43 MB / 0.5137 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.001154/0.5253, allocations: 0.8523 MB / 0.6901 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.5256, allocations: 124.5 kB / 0.6903 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.5258, allocations: 74.12 kB / 0.6903 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.5261, allocations: 338.9 kB / 0.6907 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.5261, allocations: 33 kB / 0.6907 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.5262, allocations: 4 kB / 0.6907 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005901/0.5267, allocations: 212.9 kB / 0.6909 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.5268, allocations: 56.59 kB / 0.6909 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.5272, allocations: 352.1 kB / 0.6913 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.5272, allocations: 30.95 kB / 0.6913 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.5274, allocations: 190.1 kB / 0.6915 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.5274, allocations: 45.05 kB / 0.6915 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.5275, allocations: 34.36 kB / 0.6916 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5276, allocations: 339.2 kB / 0.6919 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.5278, allocations: 52.62 kB / 0.6919 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.528, allocations: 91.44 kB / 0.692 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.5283, allocations: 114 kB / 0.6921 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5283, allocations: 0 / 0.6921 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004227/0.5287, allocations: 186.2 kB / 0.6923 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5288, allocations: 4.531 kB / 0.6923 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5288, allocations: 1.125 kB / 0.6923 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5288, allocations: 1.062 kB / 0.6923 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.529, allocations: 30.61 kB / 0.6924 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.529, allocations: 1.219 kB / 0.6924 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.5292, allocations: 21.41 kB / 0.6924 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.5292, allocations: 3.906 kB / 0.6924 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000228/0.5295, allocations: 156 kB / 0.6925 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001597/0.5296, allocations: 89.19 kB / 0.6926 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002682/0.5299, allocations: 116.6 kB / 0.6927 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.5299, allocations: 0 / 0.6927 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003449/0.5303, allocations: 179.4 kB / 0.6929 GB, free: 436 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.5303, allocations: 5.125 kB / 0.6929 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.5303, allocations: 9.344 kB / 0.6929 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.5303, allocations: 1.188 kB / 0.6929 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.5304, allocations: 23.2 kB / 0.6929 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.5304, allocations: 0 / 0.6929 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.5306, allocations: 17.05 kB / 0.6929 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5306, allocations: 8.469 kB / 0.693 GB, free: 412 kB / 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.0001161/0.5307, allocations: 196.3 kB / 0.6931 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.5308, allocations: 32.72 kB / 0.6932 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.5313, allocations: 226.4 kB / 0.6934 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5313, allocations: 2.781 kB / 0.6934 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5313, allocations: 0 / 0.6934 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5313, allocations: 96 / 0.6934 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009263/0.5323, allocations: 0.6386 MB / 0.694 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5323, allocations: 0 / 0.694 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5324, allocations: 29.39 kB / 0.694 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5324, allocations: 0 / 0.694 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5324, allocations: 10.27 kB / 0.6941 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5324, allocations: 2.062 kB / 0.6941 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5325, allocations: 2.125 kB / 0.6941 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.5329, allocations: 317.7 kB / 0.6944 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.533, allocations: 130.7 kB / 0.6945 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.5331, allocations: 3.844 kB / 0.6945 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5333, allocations: 14.58 kB / 0.6945 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.5333, allocations: 15.73 kB / 0.6945 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5334, allocations: 13.98 kB / 0.6945 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002245/0.5336, allocations: 242.8 kB / 0.6948 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5336, allocations: 0 / 0.6948 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007066/0.5343, allocations: 189.5 kB / 0.6949 GB, free: 14.89 MB / 0.5294 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.001133/0.5354, allocations: 0.986 MB / 0.6959 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005262/0.536, allocations: 205 kB / 0.6961 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.536, allocations: 0 / 0.6961 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.5362, allocations: 76.48 kB / 0.6962 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.5371, allocations: 156 kB / 0.6963 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.5407, allocations: 2.719 MB / 0.699 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.5411, allocations: 0.8006 MB / 0.6998 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00025/0.5413, allocations: 72.81 kB / 0.6998 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5415, allocations: 113.4 kB / 0.6999 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.5415, allocations: 0 / 0.6999 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.5717, allocations: 10.2 MB / 0.7099 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.671, allocations: 10.22 kB / 0.7099 GB, free: 2.223 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)