Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_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.009347/0.009347, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002047/0.002048, allocations: 198.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.273/2.273, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.05/1.05, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 63.69 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2711, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.03072/0.3018, allocations: 15.05 MB / 0.6739 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3129, allocations: 3.888 MB / 0.6777 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/0.3138, allocations: 23.81 kB / 0.6777 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.3148, allocations: 182.8 kB / 0.6779 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.3182, allocations: 0.6802 MB / 0.6785 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.3208, allocations: 477.9 kB / 0.679 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.3238, allocations: 1.087 MB / 0.68 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.3246, allocations: 277.6 kB / 0.6803 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.3259, allocations: 402.4 kB / 0.6807 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/0.3266, allocations: 258.8 kB / 0.6809 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.3267, allocations: 24 kB / 0.681 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.3294, allocations: 0.7251 MB / 0.6817 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3296, allocations: 75.67 kB / 0.6817 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.33, allocations: 187 kB / 0.6819 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.3321, allocations: 0.7278 MB / 0.6826 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3321, allocations: 0 / 0.6826 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3321, allocations: 0 / 0.6826 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3321, allocations: 0 / 0.6826 GB, free: 2.66 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.002068/0.3342, allocations: 0.7582 MB / 0.6834 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.3343, allocations: 12.02 kB / 0.6834 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.865e-05/0.3344, allocations: 54.73 kB / 0.6834 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.3346, allocations: 44.66 kB / 0.6835 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.3363, allocations: 0.5129 MB / 0.684 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.3364, allocations: 20.31 kB / 0.684 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.3365, allocations: 19.98 kB / 0.684 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.3371, allocations: 184.1 kB / 0.6842 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3371, allocations: 0 / 0.6842 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.3372, allocations: 12 kB / 0.6842 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3372, allocations: 7.938 kB / 0.6842 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.3378, allocations: 132.2 kB / 0.6843 GB, free: 0.8047 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.002231/0.3401, allocations: 0.8608 MB / 0.6852 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.3406, allocations: 126.5 kB / 0.6853 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.341, allocations: 72.81 kB / 0.6854 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.3416, allocations: 332.4 kB / 0.6857 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.3417, allocations: 34.56 kB / 0.6857 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/0.3417, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.001112/0.3428, allocations: 225.3 kB / 0.6859 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.3429, allocations: 55.34 kB / 0.686 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.3436, allocations: 345.7 kB / 0.6863 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.3436, allocations: 25.7 kB / 0.6863 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.3439, allocations: 192.5 kB / 0.6865 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.344, allocations: 47.61 kB / 0.6866 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3442, allocations: 37.66 kB / 0.6866 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002835/0.3445, allocations: 342.8 kB / 0.6869 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3448, allocations: 56.77 kB / 0.687 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.3451, allocations: 91.53 kB / 0.6871 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3457, allocations: 121.6 kB / 0.6872 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3457, allocations: 4 kB / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007424/0.3465, allocations: 177.3 kB / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.3465, allocations: 8 kB / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3465, allocations: 0 / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3466, allocations: 0 / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.3469, allocations: 23.98 kB / 0.6874 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3469, allocations: 3.984 kB / 0.6874 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.3473, allocations: 19.94 kB / 0.6874 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.3474, allocations: 12 kB / 0.6874 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004135/0.3478, allocations: 156 kB / 0.6876 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003216/0.3481, allocations: 88.19 kB / 0.6877 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005369/0.3487, allocations: 121.7 kB / 0.6878 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.3487, allocations: 0 / 0.6878 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0006854/0.3494, allocations: 181.3 kB / 0.688 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3494, allocations: 7.938 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.3494, allocations: 0 / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.3495, allocations: 0 / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3497, allocations: 27.98 kB / 0.688 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.3497, allocations: 0 / 0.688 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.3501, allocations: 31.86 kB / 0.688 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3501, allocations: 4 kB / 0.688 GB, free: 12.73 MB / 0.5294 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.0002571/0.3504, allocations: 188.2 kB / 0.6882 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3505, allocations: 35.77 kB / 0.6882 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/0.3515, allocations: 223.4 kB / 0.6884 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3515, allocations: 4 kB / 0.6885 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3516, allocations: 4 kB / 0.6885 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3516, allocations: 0 / 0.6885 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.3534, allocations: 0.6256 MB / 0.6891 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3534, allocations: 0 / 0.6891 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.3536, allocations: 31.97 kB / 0.6891 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.3537, allocations: 8.094 kB / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.3537, allocations: 0 / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.3537, allocations: 4.094 kB / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3537, allocations: 3.938 kB / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.3546, allocations: 325.7 kB / 0.6894 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.3548, allocations: 128.8 kB / 0.6895 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.3549, allocations: 4 kB / 0.6895 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.3553, allocations: 19.97 kB / 0.6896 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.3555, allocations: 15.92 kB / 0.6896 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.3555, allocations: 8 kB / 0.6896 GB, free: 11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005079/0.356, allocations: 243.2 kB / 0.6898 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/0.356, allocations: 4 kB / 0.6898 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001183/0.3572, allocations: 191.4 kB / 0.69 GB, free: 10.57 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.002199/0.3595, allocations: 0.9921 MB / 0.691 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009973/0.3605, allocations: 199.8 kB / 0.6912 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3605, allocations: 0 / 0.6912 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.3609, allocations: 79.88 kB / 0.6912 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.3625, allocations: 155.1 kB / 0.6914 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.3688, allocations: 2.726 MB / 0.6941 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.3695, allocations: 0.7957 MB / 0.6948 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.3699, allocations: 68.23 kB / 0.6949 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.3702, allocations: 115.4 kB / 0.695 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of SimCode: time 6.12e-07/0.3703, allocations: 0 / 0.695 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/0.4293, allocations: 10.06 MB / 0.7048 GB, free: 11.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.6, allocations: 11.3 kB / 0.7048 GB, free: 11.45 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)