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.004889/0.004889, allocations: 99.72 kB / 15.73 MB, free: 6.5 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.001441/0.001442, allocations: 204 kB / 16.68 MB, free: 6.367 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9491/0.9491, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 0.5857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3812, allocations: 81.03 MB / 0.6649 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6118/0.993, allocations: 239.8 MB / 0.8991 GB, free: 19.71 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01087/1.004, allocations: 7.207 MB / 0.9061 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/1.006, allocations: 51.12 kB / 0.9062 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/1.008, allocations: 0.7 MB / 0.9069 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005323/1.013, allocations: 2.067 MB / 0.9089 GB, free: 19.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/1.018, allocations: 2.038 MB / 0.9109 GB, free: 19.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004648/1.023, allocations: 3.268 MB / 0.9141 GB, free: 19.44 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/1.025, allocations: 1.139 MB / 0.9152 GB, free: 19.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/1.029, allocations: 1.79 MB / 0.9169 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/1.03, allocations: 0.9648 MB / 0.9179 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/1.031, allocations: 123.4 kB / 0.918 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/1.035, allocations: 2.489 MB / 0.9204 GB, free: 19.28 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/1.035, allocations: 458.4 kB / 0.9208 GB, free: 19.28 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007549/1.036, allocations: 0.7185 MB / 0.9215 GB, free: 19.15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/1.04, allocations: 2.708 MB / 0.9242 GB, free: 18.83 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.04, allocations: 0 / 0.9242 GB, free: 18.83 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/1.04, allocations: 0 / 0.9242 GB, free: 18.83 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.906e-05/1.04, allocations: 0.9062 kB / 0.9242 GB, free: 18.83 MB / 0.6856 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.002551/1.043, allocations: 1.764 MB / 0.9259 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.043, allocations: 11.66 kB / 0.9259 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/1.043, allocations: 125.9 kB / 0.926 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/1.046, allocations: 429 kB / 0.9265 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.047, allocations: 1.023 MB / 0.9274 GB, free: 17.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/1.047, allocations: 64.41 kB / 0.9275 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/1.047, allocations: 82.62 kB / 0.9276 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.049, allocations: 0.8655 MB / 0.9284 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.049, allocations: 8.875 kB / 0.9284 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/1.049, allocations: 34.38 kB / 0.9285 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/1.049, allocations: 27.38 kB / 0.9285 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/1.05, allocations: 0.8082 MB / 0.9293 GB, free: 17.32 MB / 0.6856 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.00386/1.054, allocations: 3.654 MB / 0.9329 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.055, allocations: 1.088 MB / 0.9339 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/1.056, allocations: 372.8 kB / 0.9343 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/1.056, allocations: 403.9 kB / 0.9347 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/1.056, allocations: 42.5 kB / 0.9347 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/1.057, allocations: 0.875 kB / 0.9347 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.001926/1.058, allocations: 0.959 MB / 0.9356 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/1.058, allocations: 64.12 kB / 0.9357 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/1.059, allocations: 0.837 MB / 0.9365 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/1.059, allocations: 40.36 kB / 0.9366 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/1.06, allocations: 488.7 kB / 0.937 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/1.06, allocations: 222.7 kB / 0.9372 GB, free: 14 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.06, allocations: 114.2 kB / 0.9373 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/1.06, allocations: 333.2 kB / 0.9377 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/1.061, allocations: 254.5 kB / 0.9379 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/1.061, allocations: 370.8 kB / 0.9383 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/1.062, allocations: 0.5932 MB / 0.9388 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.062, allocations: 0 / 0.9388 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001149/1.063, allocations: 0.7345 MB / 0.9396 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.063, allocations: 6.812 kB / 0.9396 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.063, allocations: 0.9062 kB / 0.9396 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.063, allocations: 3.594 kB / 0.9396 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/1.064, allocations: 128.9 kB / 0.9397 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.064, allocations: 6.75 kB / 0.9397 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/1.064, allocations: 76.91 kB / 0.9398 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/1.064, allocations: 25.44 kB / 0.9398 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006895/1.065, allocations: 499.7 kB / 0.9403 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004721/1.066, allocations: 369.3 kB / 0.9406 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008635/1.067, allocations: 0.5804 MB / 0.9412 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/1.067, allocations: 3.891 kB / 0.9412 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001075/1.068, allocations: 0.7316 MB / 0.9419 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/1.068, allocations: 5.656 kB / 0.9419 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/1.068, allocations: 1.938 kB / 0.9419 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/1.068, allocations: 4.062 kB / 0.9419 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/1.068, allocations: 121.8 kB / 0.942 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.068, allocations: 3.406 kB / 0.942 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/1.069, allocations: 68.11 kB / 0.9421 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.069, allocations: 20.09 kB / 0.9421 GB, free: 13.02 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.069, allocations: 219.7 kB / 0.9423 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.069, allocations: 105.9 kB / 0.9424 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.07, allocations: 0.7526 MB / 0.9432 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.07, allocations: 6.188 kB / 0.9432 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.07, allocations: 4.75 kB / 0.9432 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.071, allocations: 0.8989 MB / 0.9441 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/1.074, allocations: 2.234 MB / 0.9462 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.074, allocations: 6.625 kB / 0.9462 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/1.075, allocations: 138.5 kB / 0.9464 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.075, allocations: 7.156 kB / 0.9464 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/1.075, allocations: 16.47 kB / 0.9464 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.075, allocations: 8.016 kB / 0.9464 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.075, allocations: 9.938 kB / 0.9464 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/1.077, allocations: 1.267 MB / 0.9477 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/1.077, allocations: 263.6 kB / 0.9479 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.077, allocations: 19.09 kB / 0.9479 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/1.078, allocations: 42.31 kB / 0.948 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.078, allocations: 52.73 kB / 0.948 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/1.078, allocations: 25.12 kB / 0.948 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006666/1.079, allocations: 0.5903 MB / 0.9486 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/1.079, allocations: 0 / 0.9486 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001074/1.08, allocations: 0.5442 MB / 0.9491 GB, free: 10.09 MB / 0.6856 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 (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.002104/1.082, allocations: 1.946 MB / 0.951 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001558/1.083, allocations: 0.9463 MB / 0.952 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.083, allocations: 0 / 0.952 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/1.084, allocations: 342.2 kB / 0.9523 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.086, allocations: 0.5912 MB / 0.9529 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/1.095, allocations: 7.614 MB / 0.9603 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/1.095, allocations: 1.124 MB / 0.9614 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008638/1.096, allocations: 299.2 kB / 0.9617 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/1.096, allocations: 423.2 kB / 0.9621 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/1.096, allocations: 0 / 0.9621 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0644/1.161, allocations: 29.39 MB / 0.9908 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.677/10.84, allocations: 4.656 kB / 0.9908 GB, free: 3.723 MB / 0.7169 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/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)