Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7678 GB, free: 9.434 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 59.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9347, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2961/1.231, allocations: 243.9 MB / 1.517 GB, free: 7.816 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01208/1.243, allocations: 7.224 MB / 1.524 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/1.244, allocations: 71.38 kB / 1.524 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/1.246, allocations: 0.7299 MB / 1.525 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005758/1.252, allocations: 2.164 MB / 1.527 GB, free: 13.6 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005118/1.257, allocations: 2.059 MB / 1.529 GB, free: 11.55 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005129/1.262, allocations: 3.281 MB / 1.532 GB, free: 8.262 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/1.264, allocations: 0.9267 MB / 1.533 GB, free: 7.309 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004668/1.269, allocations: 1.872 MB / 1.535 GB, free: 5.43 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/1.271, allocations: 1.022 MB / 1.536 GB, free: 4.406 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/1.271, allocations: 120 kB / 1.536 GB, free: 4.289 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/1.276, allocations: 2.63 MB / 1.539 GB, free: 1.652 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005812/1.277, allocations: 470.5 kB / 1.539 GB, free: 1.191 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/1.278, allocations: 0.7194 MB / 1.54 GB, free: 480 kB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005576/1.283, allocations: 2.69 MB / 1.542 GB, free: 13.77 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.283, allocations: 0 / 1.542 GB, free: 13.77 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.693e-06/1.283, allocations: 0 / 1.542 GB, free: 13.77 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.467e-05/1.283, allocations: 4 kB / 1.542 GB, free: 13.77 MB / 1.232 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.003359/1.287, allocations: 1.757 MB / 1.544 GB, free: 11.95 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.287, allocations: 12.03 kB / 1.544 GB, free: 11.94 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.035e-05/1.287, allocations: 22 kB / 1.544 GB, free: 11.92 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/1.287, allocations: 122.8 kB / 1.544 GB, free: 11.79 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/1.29, allocations: 430.7 kB / 1.545 GB, free: 11.37 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/1.292, allocations: 1.031 MB / 1.546 GB, free: 10.29 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/1.292, allocations: 62 kB / 1.546 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.292, allocations: 83.98 kB / 1.546 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.293, allocations: 0.8701 MB / 1.547 GB, free: 9.27 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.294, allocations: 3.984 kB / 1.547 GB, free: 9.266 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/1.294, allocations: 32 kB / 1.547 GB, free: 9.234 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/1.294, allocations: 30 kB / 1.547 GB, free: 9.207 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/1.295, allocations: 0.8042 MB / 1.548 GB, free: 8.402 MB / 1.232 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.005001/1.3, allocations: 3.659 MB / 1.551 GB, free: 4.453 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/1.302, allocations: 1.079 MB / 1.552 GB, free: 3.258 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/1.302, allocations: 342.2 kB / 1.553 GB, free: 2.922 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/1.303, allocations: 408.9 kB / 1.553 GB, free: 2.449 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.303, allocations: 43.06 kB / 1.553 GB, free: 2.398 MB / 1.232 GB Notification: Performance of pre-optimization done (n=60): time 4.018e-06/1.303, allocations: 3.984 kB / 1.553 GB, free: 2.395 MB / 1.232 GB Notification: Performance of matching and sorting (n=60): time 0.002274/1.305, allocations: 0.9629 MB / 1.554 GB, free: 1.426 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.306, allocations: 55.97 kB / 1.554 GB, free: 1.359 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.307, allocations: 0.8361 MB / 1.555 GB, free: 0.5 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/1.307, allocations: 37.7 kB / 1.555 GB, free: 468 kB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.307, allocations: 492.9 kB / 1.555 GB, free: 15.96 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/1.307, allocations: 218.1 kB / 1.555 GB, free: 15.75 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.308, allocations: 122.2 kB / 1.556 GB, free: 15.62 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.308, allocations: 326 kB / 1.556 GB, free: 15.3 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/1.308, allocations: 251 kB / 1.556 GB, free: 15.05 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/1.309, allocations: 371.4 kB / 1.556 GB, free: 14.66 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.31, allocations: 0.5891 MB / 1.557 GB, free: 14.05 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.31, allocations: 3.938 kB / 1.557 GB, free: 14.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001456/1.312, allocations: 0.7326 MB / 1.558 GB, free: 13.31 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.312, allocations: 10.31 kB / 1.558 GB, free: 13.3 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.312, allocations: 7.938 kB / 1.558 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.312, allocations: 4 kB / 1.558 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/1.312, allocations: 123.9 kB / 1.558 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.312, allocations: 4 kB / 1.558 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/1.313, allocations: 67.64 kB / 1.558 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/1.313, allocations: 27.92 kB / 1.558 GB, free: 13.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000916/1.314, allocations: 0.4893 MB / 1.558 GB, free: 12.58 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006163/1.315, allocations: 363.4 kB / 1.559 GB, free: 12.19 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/1.316, allocations: 0.5774 MB / 1.559 GB, free: 11.6 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/1.316, allocations: 4 kB / 1.559 GB, free: 11.59 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001383/1.317, allocations: 0.7325 MB / 1.56 GB, free: 10.85 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.317, allocations: 4 kB / 1.56 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.317, allocations: 7.984 kB / 1.56 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/1.317, allocations: 4 kB / 1.56 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/1.318, allocations: 131.9 kB / 1.56 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.318, allocations: 4 kB / 1.56 GB, free: 10.7 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000785/1.318, allocations: 67.62 kB / 1.56 GB, free: 10.64 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/1.318, allocations: 20 kB / 1.56 GB, free: 10.62 MB / 1.248 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.0002455/1.319, allocations: 220.1 kB / 1.561 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/1.319, allocations: 103.3 kB / 1.561 GB, free: 10.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/1.321, allocations: 0.7471 MB / 1.561 GB, free: 9.539 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.321, allocations: 8 kB / 1.561 GB, free: 9.531 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.321, allocations: 0 / 1.561 GB, free: 9.531 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/1.322, allocations: 0.8994 MB / 1.562 GB, free: 8.547 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/1.326, allocations: 2.252 MB / 1.564 GB, free: 6.16 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.326, allocations: 4.062 kB / 1.564 GB, free: 6.156 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/1.327, allocations: 139.7 kB / 1.565 GB, free: 6.02 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.327, allocations: 8 kB / 1.565 GB, free: 6.012 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/1.327, allocations: 16 kB / 1.565 GB, free: 5.996 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/1.327, allocations: 4 kB / 1.565 GB, free: 5.992 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.327, allocations: 4 kB / 1.565 GB, free: 5.988 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/1.329, allocations: 1.235 MB / 1.566 GB, free: 4.699 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/1.329, allocations: 268.3 kB / 1.566 GB, free: 4.418 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.329, allocations: 23.94 kB / 1.566 GB, free: 4.395 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/1.33, allocations: 39.95 kB / 1.566 GB, free: 4.355 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.33, allocations: 48.27 kB / 1.566 GB, free: 4.309 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/1.33, allocations: 27.98 kB / 1.566 GB, free: 4.281 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008555/1.331, allocations: 0.5823 MB / 1.567 GB, free: 3.688 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/1.331, allocations: 0 / 1.567 GB, free: 3.688 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001319/1.332, allocations: 0.5419 MB / 1.567 GB, free: 3.145 MB / 1.248 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.002722/1.335, allocations: 1.899 MB / 1.569 GB, free: 1.172 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.337, allocations: 0.8958 MB / 1.57 GB, free: 284 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.337, allocations: 8.5 kB / 1.57 GB, free: 276 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006504/1.338, allocations: 330.1 kB / 1.57 GB, free: 15.95 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.34, allocations: 0.6027 MB / 1.571 GB, free: 15.36 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.352, allocations: 7.627 MB / 1.578 GB, free: 7.5 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/1.353, allocations: 1.124 MB / 1.58 GB, free: 6.344 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001027/1.354, allocations: 296.1 kB / 1.58 GB, free: 6.051 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/1.355, allocations: 419.3 kB / 1.58 GB, free: 5.641 MB / 1.264 GB Notification: Performance of SimCode: time 7.41e-07/1.355, allocations: 0 / 1.58 GB, free: 5.641 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06031/1.415, allocations: 29.53 MB / 1.609 GB, free: 8.559 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.76, allocations: 4.062 kB / 1.609 GB, free: 8.555 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.056826181011274] Failed to read output from testmodel.py, exit status != 0: 11.914055383997038 11.939736551 10.652306972 Calling exit ...