Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",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.0009067/0.0009069, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000981/0.0009812, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 426.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003897, allocations: 12 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1842, allocations: 82.31 MB / 0.5875 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6432/0.8275, allocations: 218.8 MB / 0.8011 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.8384, allocations: 6.79 MB / 0.8078 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.8402, allocations: 43.69 kB / 0.8078 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.8418, allocations: 464.9 kB / 0.8083 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.8463, allocations: 1.541 MB / 0.8098 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004207/0.8505, allocations: 1.449 MB / 0.8112 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004929/0.8555, allocations: 3.766 MB / 0.8149 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.8569, allocations: 0.8093 MB / 0.8156 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.8605, allocations: 1.435 MB / 0.817 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.8621, allocations: 0.9104 MB / 0.8179 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.8622, allocations: 52 kB / 0.818 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.8657, allocations: 1.384 MB / 0.8193 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.8662, allocations: 390.7 kB / 0.8197 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.8666, allocations: 285.1 kB / 0.82 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.8691, allocations: 1.789 MB / 0.8217 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8691, allocations: 0 / 0.8217 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8691, allocations: 4 kB / 0.8217 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.8692, allocations: 4 kB / 0.8217 GB, free: 12.91 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002633/0.8718, allocations: 1.482 MB / 0.8232 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.8719, allocations: 15.97 kB / 0.8232 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.872, allocations: 126.8 kB / 0.8233 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.8745, allocations: 429.9 kB / 0.8237 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.8761, allocations: 0.918 MB / 0.8246 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.8762, allocations: 65.98 kB / 0.8247 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.8763, allocations: 84 kB / 0.8248 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.878, allocations: 0.8663 MB / 0.8256 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.878, allocations: 7.906 kB / 0.8256 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.8781, allocations: 31.94 kB / 0.8256 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.8781, allocations: 30 kB / 0.8257 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.8796, allocations: 0.8159 MB / 0.8265 GB, free: 7.945 MB / 0.6387 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.004635/0.8842, allocations: 3.647 MB / 0.83 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.8856, allocations: 1.101 MB / 0.8311 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.8862, allocations: 379.1 kB / 0.8315 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/0.8869, allocations: 420.9 kB / 0.8319 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.8869, allocations: 35.12 kB / 0.8319 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.034e-06/0.8869, allocations: 4 kB / 0.8319 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001961/0.8889, allocations: 0.9818 MB / 0.8329 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.8889, allocations: 59.97 kB / 0.8329 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/0.8899, allocations: 0.8322 MB / 0.8337 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.89, allocations: 37.7 kB / 0.8338 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.8904, allocations: 480.2 kB / 0.8342 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.8906, allocations: 220.8 kB / 0.8344 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.8906, allocations: 8 kB / 0.8345 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8907, allocations: 334 kB / 0.8348 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.8912, allocations: 253 kB / 0.835 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.8917, allocations: 382.3 kB / 0.8354 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.8923, allocations: 298.1 kB / 0.8357 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8923, allocations: 0 / 0.8357 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001215/0.8935, allocations: 0.7438 MB / 0.8364 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.8936, allocations: 122.8 kB / 0.8365 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8936, allocations: 0 / 0.8365 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8936, allocations: 7.938 kB / 0.8365 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.8942, allocations: 135.8 kB / 0.8366 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8942, allocations: 7.047 kB / 0.8366 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/0.895, allocations: 123.3 kB / 0.8368 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.8951, allocations: 24 kB / 0.8368 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.8951, allocations: 6.344 kB / 0.8368 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/0.8962, allocations: 0.6222 MB / 0.8374 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8962, allocations: 7.438 kB / 0.8374 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.8962, allocations: 4 kB / 0.8374 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.8967, allocations: 127.8 kB / 0.8375 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.8967, allocations: 7.953 kB / 0.8375 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.8975, allocations: 123.5 kB / 0.8377 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.8975, allocations: 23.94 kB / 0.8377 GB, free: 11.86 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0004897/0.898, allocations: 388.9 kB / 0.8381 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.8981, allocations: 98.78 kB / 0.8381 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.8995, allocations: 0.7587 MB / 0.8389 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.8995, allocations: 4 kB / 0.8389 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8995, allocations: 7.953 kB / 0.8389 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.9006, allocations: 0.9189 MB / 0.8398 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.9038, allocations: 2.267 MB / 0.842 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9038, allocations: 4 kB / 0.842 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.9044, allocations: 140.7 kB / 0.8421 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.9044, allocations: 8 kB / 0.8422 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.9045, allocations: 16 kB / 0.8422 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.9045, allocations: 8.344 kB / 0.8422 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9045, allocations: 4 kB / 0.8422 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.9063, allocations: 1.299 MB / 0.8435 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.9067, allocations: 258.8 kB / 0.8437 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.9068, allocations: 16 kB / 0.8437 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/0.9075, allocations: 99.84 kB / 0.8438 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.9076, allocations: 48.33 kB / 0.8439 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.9077, allocations: 20 kB / 0.8439 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007512/0.9084, allocations: 0.5784 MB / 0.8444 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9085, allocations: 0 / 0.8444 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001203/0.9097, allocations: 0.5415 MB / 0.845 GB, free: 4.078 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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 Backend phase and start with SimCode phase: time 0.002446/0.9121, allocations: 1.966 MB / 0.8469 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.9138, allocations: 0.9585 MB / 0.8478 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9139, allocations: 4.25 kB / 0.8478 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.9144, allocations: 350.2 kB / 0.8482 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.9171, allocations: 0.6187 MB / 0.8488 GB, free: 140 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.9272, allocations: 6.272 MB / 0.8549 GB, free: 9.617 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.928, allocations: 1.132 MB / 0.856 GB, free: 8.457 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001206/0.9292, allocations: 296.1 kB / 0.8563 GB, free: 8.164 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.9298, allocations: 419.3 kB / 0.8567 GB, free: 7.754 MB / 0.67 GB Notification: Performance of SimCode: time 1.293e-06/0.9298, allocations: 0 / 0.8567 GB, free: 7.754 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3591/1.289, allocations: 28.83 MB / 0.8848 GB, free: 215.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.289, allocations: 220.2 kB / 0.885 GB, free: 215.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.786, allocations: 3.125 kB / 0.885 GB, free: 215.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: