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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00236/0.00236, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.372/1.372, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.438/2.438, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 99.16 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.044e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5884, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.905, allocations: 374.5 MB / 0.9996 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/1.906, allocations: 83.64 kB / 0.9997 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.128/3.033, allocations: 170.3 MB / 1.166 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.406e-06/3.033, allocations: 0 / 1.166 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.123e-05/3.033, allocations: 19.84 kB / 1.166 GB, free: 176.2 MB / 0.6823 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.001476/3.035, allocations: 0.6748 MB / 1.167 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/3.035, allocations: 8.031 kB / 1.167 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/3.035, allocations: 43.53 kB / 1.167 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05109/3.086, allocations: 14.58 MB / 1.181 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/3.086, allocations: 4 kB / 1.181 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/3.086, allocations: 12 kB / 1.181 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000352/3.087, allocations: 100.6 kB / 1.181 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/3.087, allocations: 135.9 kB / 1.181 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/3.087, allocations: 0 / 1.181 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/3.087, allocations: 0 / 1.181 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/3.087, allocations: 7.984 kB / 1.181 GB, free: 160.6 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001621/3.089, allocations: 0.7926 MB / 1.182 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/3.089, allocations: 98.61 kB / 1.182 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/3.089, allocations: 48.84 kB / 1.182 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/3.09, allocations: 340.4 kB / 1.182 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/3.09, allocations: 30.56 kB / 1.183 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 3.507e-06/3.09, allocations: 0 / 1.183 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.000575/3.09, allocations: 141.2 kB / 1.183 GB, free: 159 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/3.09, allocations: 55.41 kB / 1.183 GB, free: 159 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/3.091, allocations: 250.4 kB / 1.183 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/3.091, allocations: 33.64 kB / 1.183 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/3.091, allocations: 188.2 kB / 1.183 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/3.091, allocations: 39.45 kB / 1.183 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/3.091, allocations: 0 / 1.183 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000105/3.091, allocations: 339 kB / 1.184 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/3.091, allocations: 31.92 kB / 1.184 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/3.091, allocations: 82.86 kB / 1.184 GB, free: 158 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/3.092, allocations: 48.12 kB / 1.184 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/3.092, allocations: 0 / 1.184 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000426/3.092, allocations: 141.2 kB / 1.184 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.953e-05/3.092, allocations: 186 kB / 1.184 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/3.092, allocations: 0 / 1.184 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/3.092, allocations: 4 kB / 1.184 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/3.092, allocations: 23.98 kB / 1.184 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/3.093, allocations: 4 kB / 1.184 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/3.093, allocations: 31.81 kB / 1.184 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/3.093, allocations: 8 kB / 1.184 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/3.093, allocations: 4.938 kB / 1.184 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003095/3.093, allocations: 75.89 kB / 1.184 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-06/3.093, allocations: 96 / 1.184 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/3.093, allocations: 7.984 kB / 1.184 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/3.094, allocations: 36.19 kB / 1.184 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/3.094, allocations: 0 / 1.184 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/3.094, allocations: 19.98 kB / 1.184 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/3.094, allocations: 11.92 kB / 1.184 GB, free: 157.4 MB / 0.6823 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 () * 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.0001077/3.094, allocations: 112.9 kB / 1.184 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004031/3.094, allocations: 141.2 kB / 1.184 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/3.095, allocations: 35.53 kB / 1.184 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/3.095, allocations: 172.7 kB / 1.185 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/3.095, allocations: 3.984 kB / 1.185 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/3.095, allocations: 7.953 kB / 1.185 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/3.095, allocations: 0 / 1.185 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/3.096, allocations: 0.5204 MB / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/3.096, allocations: 11.98 kB / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/3.097, allocations: 23.98 kB / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/3.097, allocations: 4 kB / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/3.097, allocations: 3.953 kB / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/3.097, allocations: 0 / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/3.097, allocations: 4 kB / 1.185 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/3.097, allocations: 320.5 kB / 1.186 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/3.097, allocations: 120.6 kB / 1.186 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/3.097, allocations: 0 / 1.186 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/3.098, allocations: 23.98 kB / 1.186 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/3.098, allocations: 7.984 kB / 1.186 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/3.098, allocations: 15.92 kB / 1.186 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002922/3.098, allocations: 196.6 kB / 1.186 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/3.098, allocations: 0 / 1.186 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001069/3.099, allocations: 167.5 kB / 1.186 GB, free: 155.4 MB / 0.6823 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 () * 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.001563/3.101, allocations: 1.233 MB / 1.187 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004449/3.101, allocations: 153.9 kB / 1.187 GB, free: 154 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/3.101, allocations: 0 / 1.187 GB, free: 154 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/3.101, allocations: 59.92 kB / 1.187 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/3.103, allocations: 126.3 kB / 1.188 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/3.104, allocations: 459.9 kB / 1.188 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/3.104, allocations: 0.8074 MB / 1.189 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006017/3.105, allocations: 83.36 kB / 1.189 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/3.105, allocations: 111.4 kB / 1.189 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/3.105, allocations: 0 / 1.189 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/3.15, allocations: 8.854 MB / 1.198 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/3.15, allocations: 177 kB / 1.198 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/6.886, allocations: 6.328 kB / 1.198 GB, free: 143.3 MB / 0.6823 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/linux/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)