Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_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.001067/0.001067, allocations: 103.9 kB / 16.4 MB, free: 6.449 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.001088/0.001088, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7862/0.7862, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 64.66 kB / 0.5679 GB, free: 29.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1385, allocations: 77.93 MB / 0.644 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6153/0.7538, allocations: 239.9 MB / 0.8783 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.7651, allocations: 7.214 MB / 0.8853 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.7669, allocations: 51.69 kB / 0.8854 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.7688, allocations: 0.7222 MB / 0.8861 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.7741, allocations: 2.161 MB / 0.8882 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.7796, allocations: 2.068 MB / 0.8902 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004324/0.784, allocations: 3.277 MB / 0.8934 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.7855, allocations: 1.144 MB / 0.8945 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.789, allocations: 1.849 MB / 0.8963 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.7905, allocations: 0.9663 MB / 0.8973 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.7907, allocations: 124 kB / 0.8974 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.7951, allocations: 2.502 MB / 0.8998 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.7955, allocations: 466.6 kB / 0.9003 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007457/0.7963, allocations: 0.7194 MB / 0.901 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.7999, allocations: 2.683 MB / 0.9036 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.7999, allocations: 0 / 0.9036 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7999, allocations: 0 / 0.9036 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.7999, allocations: 0 / 0.9036 GB, free: 2.074 MB / 0.6544 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.002757/0.8027, allocations: 1.761 MB / 0.9053 GB, free: 264 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8028, allocations: 16.56 kB / 0.9053 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.8029, allocations: 126.8 kB / 0.9055 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.8056, allocations: 426.7 kB / 0.9059 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.8074, allocations: 1.031 MB / 0.9069 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.8074, allocations: 66 kB / 0.9069 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.8076, allocations: 84 kB / 0.907 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.8092, allocations: 0.8585 MB / 0.9079 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.8092, allocations: 7.953 kB / 0.9079 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.8093, allocations: 32.88 kB / 0.9079 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.8093, allocations: 34 kB / 0.9079 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.8108, allocations: 0.8042 MB / 0.9087 GB, free: 12.73 MB / 0.67 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.004797/0.8156, allocations: 3.652 MB / 0.9123 GB, free: 8.785 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.8172, allocations: 1.087 MB / 0.9133 GB, free: 7.582 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.8178, allocations: 382.6 kB / 0.9137 GB, free: 7.207 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000698/0.8185, allocations: 400.9 kB / 0.9141 GB, free: 6.742 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.8186, allocations: 43.12 kB / 0.9141 GB, free: 6.691 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/0.8186, allocations: 4 kB / 0.9141 GB, free: 6.688 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002074/0.8207, allocations: 0.9512 MB / 0.9151 GB, free: 5.727 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.8207, allocations: 67.95 kB / 0.9151 GB, free: 5.648 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.8217, allocations: 0.836 MB / 0.9159 GB, free: 4.789 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.8218, allocations: 41.7 kB / 0.916 GB, free: 4.742 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.8221, allocations: 492.7 kB / 0.9165 GB, free: 4.254 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.8223, allocations: 222.1 kB / 0.9167 GB, free: 4.035 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.8225, allocations: 114.2 kB / 0.9168 GB, free: 3.918 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8227, allocations: 322 kB / 0.9171 GB, free: 3.598 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.8232, allocations: 259.8 kB / 0.9173 GB, free: 3.344 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.8237, allocations: 371.5 kB / 0.9177 GB, free: 2.945 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.8248, allocations: 0.5813 MB / 0.9182 GB, free: 2.348 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8248, allocations: 8 kB / 0.9183 GB, free: 2.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001298/0.8261, allocations: 0.7364 MB / 0.919 GB, free: 1.598 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8261, allocations: 8 kB / 0.919 GB, free: 1.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8261, allocations: 0 / 0.919 GB, free: 1.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.8262, allocations: 4 kB / 0.919 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.8267, allocations: 129.1 kB / 0.9191 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.8268, allocations: 4 kB / 0.9191 GB, free: 1.457 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.8275, allocations: 75.58 kB / 0.9192 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.8276, allocations: 27.97 kB / 0.9192 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008413/0.8284, allocations: 0.4892 MB / 0.9197 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005921/0.829, allocations: 363.5 kB / 0.92 GB, free: 488 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.8301, allocations: 0.5774 MB / 0.9206 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.8301, allocations: 4.188 kB / 0.9206 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001334/0.8315, allocations: 0.7302 MB / 0.9213 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.8315, allocations: 11.94 kB / 0.9213 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.8315, allocations: 0 / 0.9213 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.8315, allocations: 4 kB / 0.9213 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.8321, allocations: 123.8 kB / 0.9215 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8321, allocations: 7.984 kB / 0.9215 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/0.8328, allocations: 71.81 kB / 0.9215 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.8329, allocations: 23.98 kB / 0.9215 GB, free: 14.9 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.0002259/0.8331, allocations: 213 kB / 0.9218 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.8333, allocations: 111.2 kB / 0.9219 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.8347, allocations: 0.7444 MB / 0.9226 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8347, allocations: 8 kB / 0.9226 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8348, allocations: 0 / 0.9226 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.836, allocations: 0.8995 MB / 0.9235 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.8394, allocations: 2.24 MB / 0.9257 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.8395, allocations: 4 kB / 0.9257 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.8401, allocations: 136.2 kB / 0.9258 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.8401, allocations: 8 kB / 0.9258 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.8402, allocations: 19.98 kB / 0.9258 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.8402, allocations: 8 kB / 0.9258 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8402, allocations: 7.938 kB / 0.9258 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.8422, allocations: 1.235 MB / 0.927 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.8426, allocations: 264.4 kB / 0.9273 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.8428, allocations: 23.98 kB / 0.9273 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.8435, allocations: 43.89 kB / 0.9274 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.8436, allocations: 52.27 kB / 0.9274 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.8436, allocations: 23.98 kB / 0.9274 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008203/0.8445, allocations: 0.5823 MB / 0.928 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8445, allocations: 0 / 0.928 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001322/0.8458, allocations: 0.5341 MB / 0.9285 GB, free: 7.441 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.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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.002634/0.8484, allocations: 1.914 MB / 0.9304 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.8503, allocations: 0.9427 MB / 0.9313 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8504, allocations: 0 / 0.9313 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.851, allocations: 342.9 kB / 0.9316 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.8536, allocations: 0.6013 MB / 0.9322 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.8647, allocations: 7.641 MB / 0.9397 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.8655, allocations: 1.124 MB / 0.9408 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001015/0.8665, allocations: 296.1 kB / 0.9411 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.8671, allocations: 415.3 kB / 0.9415 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of SimCode: time 4.21e-07/0.8671, allocations: 0 / 0.9415 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05868/0.9258, allocations: 29.36 MB / 0.9701 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.431/10.36, allocations: 10.33 kB / 0.9701 GB, free: 12.9 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)