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.004891/0.004891, allocations: 102 kB / 15.73 MB, free: 6.051 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.001066/0.001066, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 62.23 kB / 0.5808 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, 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.01301/0.1412, allocations: 15.05 MB / 0.6739 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004537/0.1458, allocations: 3.891 MB / 0.6777 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.1461, allocations: 23.88 kB / 0.6777 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.1466, allocations: 186.7 kB / 0.6779 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.1479, allocations: 0.7108 MB / 0.6786 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1489, allocations: 476.9 kB / 0.679 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.1501, allocations: 1.085 MB / 0.6801 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.1504, allocations: 281.6 kB / 0.6803 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.151, allocations: 414.4 kB / 0.6807 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1512, allocations: 270.8 kB / 0.681 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.1513, allocations: 20 kB / 0.681 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.1522, allocations: 0.7134 MB / 0.6817 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.1523, allocations: 79.67 kB / 0.6818 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1525, allocations: 183 kB / 0.682 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007839/0.1533, allocations: 0.7331 MB / 0.6827 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1533, allocations: 0 / 0.6827 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1533, allocations: 0 / 0.6827 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1533, allocations: 0 / 0.6827 GB, free: 2.621 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.0009483/0.1543, allocations: 0.7435 MB / 0.6834 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1543, allocations: 12.03 kB / 0.6834 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1543, allocations: 50.67 kB / 0.6835 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.1544, allocations: 44.47 kB / 0.6835 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.1553, allocations: 0.5087 MB / 0.684 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1553, allocations: 16.33 kB / 0.684 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1553, allocations: 16 kB / 0.684 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1557, allocations: 184 kB / 0.6842 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1557, allocations: 4 kB / 0.6842 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1557, allocations: 4 kB / 0.6842 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1557, allocations: 4 kB / 0.6842 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.156, allocations: 144.2 kB / 0.6844 GB, free: 0.793 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.0009369/0.1569, allocations: 0.8489 MB / 0.6852 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1572, allocations: 138.5 kB / 0.6853 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.1573, allocations: 68.81 kB / 0.6854 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.1576, allocations: 336.4 kB / 0.6857 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1576, allocations: 30.56 kB / 0.6857 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1576, allocations: 0 / 0.6857 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005038/0.1581, allocations: 225.1 kB / 0.6859 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1582, allocations: 59.34 kB / 0.686 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1585, allocations: 345.7 kB / 0.6863 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1585, allocations: 29.7 kB / 0.6864 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1586, allocations: 192.2 kB / 0.6865 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1587, allocations: 35.45 kB / 0.6866 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1587, allocations: 41.61 kB / 0.6866 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.1588, allocations: 346.8 kB / 0.6869 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.159, allocations: 52.81 kB / 0.687 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1591, allocations: 80.25 kB / 0.6871 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1594, allocations: 121.6 kB / 0.6872 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1594, allocations: 4 kB / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000324/0.1597, allocations: 177.1 kB / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1597, allocations: 4 kB / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1597, allocations: 48 / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1597, allocations: 3.984 kB / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1599, allocations: 23.98 kB / 0.6874 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1599, allocations: 11.98 kB / 0.6874 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1601, allocations: 27.84 kB / 0.6874 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1601, allocations: 4 kB / 0.6874 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001895/0.1603, allocations: 156 kB / 0.6876 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001368/0.1604, allocations: 95.09 kB / 0.6877 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002296/0.1607, allocations: 117.7 kB / 0.6878 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1607, allocations: 3.938 kB / 0.6878 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003045/0.161, allocations: 177 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.161, allocations: 4 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.161, allocations: 0 / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-06/0.161, allocations: 4 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1611, allocations: 23.98 kB / 0.688 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-06/0.1611, allocations: 4 kB / 0.688 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1613, allocations: 15.98 kB / 0.688 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1613, allocations: 7.984 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 7.686e-05/0.1614, allocations: 192.1 kB / 0.6882 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1615, allocations: 31.62 kB / 0.6882 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.1619, allocations: 224.5 kB / 0.6884 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1619, allocations: 4 kB / 0.6884 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1619, allocations: 96 / 0.6884 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1619, allocations: 3.938 kB / 0.6885 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.1627, allocations: 0.6333 MB / 0.6891 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1627, allocations: 8.219 kB / 0.6891 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.1628, allocations: 27.97 kB / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1628, allocations: 4 kB / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1628, allocations: 4 kB / 0.6891 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1628, allocations: 4 kB / 0.6891 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1628, allocations: 3.938 kB / 0.6891 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.1632, allocations: 317.5 kB / 0.6894 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.1633, allocations: 120.6 kB / 0.6895 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.1634, allocations: 8 kB / 0.6895 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.1636, allocations: 15.97 kB / 0.6896 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1636, allocations: 11.94 kB / 0.6896 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1636, allocations: 11.98 kB / 0.6896 GB, free: 11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002051/0.1638, allocations: 243.2 kB / 0.6898 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1638, allocations: 3.938 kB / 0.6898 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005059/0.1643, allocations: 191.6 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.0009555/0.1653, allocations: 0.9921 MB / 0.691 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.1658, allocations: 183.8 kB / 0.6911 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1658, allocations: 0 / 0.6911 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1659, allocations: 75.89 kB / 0.6912 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.1666, allocations: 166.8 kB / 0.6914 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.1694, allocations: 2.723 MB / 0.694 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1697, allocations: 0.7919 MB / 0.6948 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.1699, allocations: 79.59 kB / 0.6949 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1701, allocations: 115.4 kB / 0.695 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.1701, allocations: 0 / 0.695 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.196, allocations: 10.04 MB / 0.7048 GB, free: 11.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.791, allocations: 14.23 kB / 0.7048 GB, free: 11.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)