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.008975/0.008975, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002014/0.002014, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9985/0.9985, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5343, allocations: 80.92 MB / 0.6641 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.8205/1.355, allocations: 239.8 MB / 0.8984 GB, free: 19.71 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01099/1.366, allocations: 7.198 MB / 0.9054 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/1.368, allocations: 51.5 kB / 0.9054 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/1.369, allocations: 0.6951 MB / 0.9061 GB, free: 19.6 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005269/1.375, allocations: 2.076 MB / 0.9082 GB, free: 19.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005193/1.38, allocations: 2.035 MB / 0.9101 GB, free: 19.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0054/1.385, allocations: 3.268 MB / 0.9133 GB, free: 19.44 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/1.388, allocations: 1.148 MB / 0.9145 GB, free: 19.31 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/1.393, allocations: 1.826 MB / 0.9162 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/1.395, allocations: 0.9633 MB / 0.9172 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/1.395, allocations: 122.2 kB / 0.9173 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005402/1.4, allocations: 2.488 MB / 0.9197 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006023/1.401, allocations: 460.8 kB / 0.9202 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/1.402, allocations: 0.7196 MB / 0.9209 GB, free: 19.15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00617/1.408, allocations: 2.697 MB / 0.9235 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.408, allocations: 0 / 0.9235 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.224e-06/1.408, allocations: 1.156 kB / 0.9235 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.212e-05/1.408, allocations: 0 / 0.9235 GB, free: 18.84 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.002724/1.411, allocations: 1.708 MB / 0.9252 GB, free: 17.94 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.411, allocations: 8.5 kB / 0.9252 GB, free: 17.94 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/1.411, allocations: 129.5 kB / 0.9253 GB, free: 17.9 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/1.414, allocations: 426.5 kB / 0.9257 GB, free: 17.83 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/1.416, allocations: 1.013 MB / 0.9267 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/1.416, allocations: 65.66 kB / 0.9268 GB, free: 17.47 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.416, allocations: 84.25 kB / 0.9268 GB, free: 17.47 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/1.417, allocations: 0.8664 MB / 0.9277 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/1.417, allocations: 4.938 kB / 0.9277 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.514e-05/1.417, allocations: 32.91 kB / 0.9277 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/1.418, allocations: 30.55 kB / 0.9278 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.419, allocations: 0.8042 MB / 0.9285 GB, free: 17.4 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.004157/1.423, allocations: 3.642 MB / 0.9321 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.424, allocations: 1.085 MB / 0.9332 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/1.425, allocations: 371.3 kB / 0.9335 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/1.426, allocations: 410.2 kB / 0.9339 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.426, allocations: 41.81 kB / 0.9339 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.485e-06/1.426, allocations: 0 / 0.9339 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002213/1.428, allocations: 0.9525 MB / 0.9349 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.428, allocations: 63.12 kB / 0.9349 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.429, allocations: 0.839 MB / 0.9357 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/1.429, allocations: 37.3 kB / 0.9358 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/1.43, allocations: 483.1 kB / 0.9362 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/1.43, allocations: 213.4 kB / 0.9364 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/1.43, allocations: 111.9 kB / 0.9366 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/1.43, allocations: 331.7 kB / 0.9369 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/1.431, allocations: 255 kB / 0.9371 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/1.431, allocations: 368.8 kB / 0.9375 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/1.432, allocations: 0.5946 MB / 0.938 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.432, allocations: 6.594 kB / 0.9381 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001337/1.434, allocations: 0.7334 MB / 0.9388 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.434, allocations: 2.812 kB / 0.9388 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.434, allocations: 6.969 kB / 0.9388 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.434, allocations: 2.625 kB / 0.9388 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/1.434, allocations: 126.5 kB / 0.9389 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/1.434, allocations: 9.281 kB / 0.9389 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/1.435, allocations: 68.53 kB / 0.939 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/1.435, allocations: 25.52 kB / 0.939 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00073/1.436, allocations: 0.4894 MB / 0.9395 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004882/1.436, allocations: 368.1 kB / 0.9398 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008751/1.437, allocations: 0.5799 MB / 0.9404 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/1.437, allocations: 0.9375 kB / 0.9404 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001136/1.439, allocations: 0.7221 MB / 0.9411 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.439, allocations: 8.797 kB / 0.9411 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/1.439, allocations: 4.219 kB / 0.9411 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/1.439, allocations: 4.844 kB / 0.9411 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/1.439, allocations: 122.1 kB / 0.9412 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.439, allocations: 4.047 kB / 0.9412 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/1.44, allocations: 69.88 kB / 0.9413 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.44, allocations: 18.69 kB / 0.9413 GB, free: 13.14 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.0001951/1.44, allocations: 219.9 kB / 0.9415 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.44, allocations: 100.1 kB / 0.9416 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/1.442, allocations: 0.7431 MB / 0.9424 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.442, allocations: 10.59 kB / 0.9424 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.442, allocations: 3.938 kB / 0.9424 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/1.443, allocations: 0.9012 MB / 0.9432 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/1.446, allocations: 2.246 MB / 0.9454 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.446, allocations: 0 / 0.9454 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/1.447, allocations: 142.2 kB / 0.9456 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/1.447, allocations: 8.203 kB / 0.9456 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/1.447, allocations: 21.72 kB / 0.9456 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.447, allocations: 6.438 kB / 0.9456 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/1.447, allocations: 12.88 kB / 0.9456 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.449, allocations: 1.255 MB / 0.9468 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/1.449, allocations: 257.7 kB / 0.9471 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.449, allocations: 16.42 kB / 0.9471 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/1.45, allocations: 43.7 kB / 0.9472 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.45, allocations: 53.14 kB / 0.9472 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/1.45, allocations: 25.25 kB / 0.9472 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007636/1.451, allocations: 0.5845 MB / 0.9478 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.451, allocations: 4.906 kB / 0.9478 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001302/1.452, allocations: 0.5288 MB / 0.9483 GB, free: 10.46 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.002429/1.454, allocations: 1.944 MB / 0.9502 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001665/1.456, allocations: 0.9377 MB / 0.9511 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.456, allocations: 6.531 kB / 0.9511 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005198/1.457, allocations: 341.4 kB / 0.9515 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.459, allocations: 0.5971 MB / 0.952 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00953/1.469, allocations: 7.569 MB / 0.9594 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.469, allocations: 1.12 MB / 0.9605 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009379/1.47, allocations: 300.1 kB / 0.9608 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/1.471, allocations: 415.3 kB / 0.9612 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of SimCode: time 1.383e-06/1.471, allocations: 0 / 0.9612 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06234/1.533, allocations: 29.9 MB / 0.9904 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/11.37, allocations: 19.81 kB / 0.9904 GB, free: 3.969 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)