Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",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.001313/0.001313, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5443, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.7287/1.273, allocations: 265.6 MB / 1.277 GB, free: 24.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03165/1.305, allocations: 24.34 MB / 1.301 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/1.308, allocations: 92.09 kB / 1.301 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/1.31, allocations: 0.8477 MB / 1.301 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00864/1.318, allocations: 3.538 MB / 1.305 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/1.321, allocations: 1.228 MB / 1.306 GB, free: 24.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004371/1.326, allocations: 3.233 MB / 1.309 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/1.327, allocations: 1.166 MB / 1.31 GB, free: 24.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007181/1.334, allocations: 3.341 MB / 1.314 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/1.336, allocations: 0.9303 MB / 1.315 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.336, allocations: 87.06 kB / 1.315 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007326/1.344, allocations: 3.678 MB / 1.318 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/1.344, allocations: 269.2 kB / 1.319 GB, free: 24.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009073/1.345, allocations: 0.6398 MB / 1.319 GB, free: 24.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005423/1.351, allocations: 3.344 MB / 1.322 GB, free: 23.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/1.351, allocations: 2.562 kB / 1.322 GB, free: 23.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.351, allocations: 0 / 1.322 GB, free: 23.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.727e-05/1.351, allocations: 0 / 1.322 GB, free: 23.75 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.002852/1.353, allocations: 1.733 MB / 1.324 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.354, allocations: 10.12 kB / 1.324 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.822e-05/1.354, allocations: 99.55 kB / 1.324 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/1.356, allocations: 303.2 kB / 1.325 GB, free: 22.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.357, allocations: 1.11 MB / 1.326 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/1.357, allocations: 46.56 kB / 1.326 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/1.357, allocations: 68.56 kB / 1.326 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/1.358, allocations: 0.6746 MB / 1.326 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.358, allocations: 2.656 kB / 1.326 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.358, allocations: 23.69 kB / 1.326 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/1.358, allocations: 15.81 kB / 1.326 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/1.359, allocations: 429.8 kB / 1.327 GB, free: 22.09 MB / 0.9981 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.003355/1.362, allocations: 5.395 MB / 1.332 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/1.363, allocations: 204.6 kB / 1.332 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/1.363, allocations: 110.8 kB / 1.332 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/1.363, allocations: 204.3 kB / 1.333 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/1.363, allocations: 40.84 kB / 1.333 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004152/1.363, allocations: 51.12 kB / 1.333 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/1.363, allocations: 0 / 1.333 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008292/1.364, allocations: 354.1 kB / 1.333 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/1.364, allocations: 160.1 kB / 1.333 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.366, allocations: 1.174 MB / 1.334 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/1.366, allocations: 31.73 kB / 1.334 GB, free: 17.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/1.366, allocations: 0.5698 MB / 1.335 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/1.366, allocations: 55.16 kB / 1.335 GB, free: 16.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.366, allocations: 86.23 kB / 1.335 GB, free: 16.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/1.366, allocations: 322 kB / 1.335 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.366, allocations: 98.59 kB / 1.335 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/1.367, allocations: 392.9 kB / 1.336 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/1.367, allocations: 445.9 kB / 1.336 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.367, allocations: 2.812 kB / 1.336 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008095/1.368, allocations: 0.4943 MB / 1.337 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.368, allocations: 9.5 kB / 1.337 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.368, allocations: 7.125 kB / 1.337 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.368, allocations: 15.41 kB / 1.337 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/1.368, allocations: 84.67 kB / 1.337 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/1.368, allocations: 21.05 kB / 1.337 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/1.369, allocations: 42.52 kB / 1.337 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/1.369, allocations: 27.28 kB / 1.337 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003885/1.37, allocations: 310.5 kB / 1.337 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002601/1.37, allocations: 377.2 kB / 1.338 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004317/1.37, allocations: 437.9 kB / 1.338 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/1.37, allocations: 1.812 kB / 1.338 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.000765/1.371, allocations: 487.1 kB / 1.338 GB, free: 15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/1.371, allocations: 8.391 kB / 1.338 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.371, allocations: 8.438 kB / 1.338 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/1.371, allocations: 8.656 kB / 1.338 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.371, allocations: 99.02 kB / 1.339 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/1.371, allocations: 13.38 kB / 1.339 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/1.372, allocations: 55.19 kB / 1.339 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/1.372, allocations: 26.03 kB / 1.339 GB, free: 14.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (42): * Single equations (assignments): 42 * 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 9.33e-05/1.372, allocations: 207.3 kB / 1.339 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/1.372, allocations: 111.7 kB / 1.339 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/1.373, allocations: 264.3 kB / 1.339 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.373, allocations: 5.812 kB / 1.339 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.373, allocations: 3.344 kB / 1.339 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.373, allocations: 0 / 1.339 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/1.374, allocations: 1.219 MB / 1.34 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.374, allocations: 2.906 kB / 1.34 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.374, allocations: 27.34 kB / 1.34 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.374, allocations: 6.125 kB / 1.34 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.374, allocations: 2.938 kB / 1.34 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.374, allocations: 1.781 kB / 1.34 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.374, allocations: 3.25 kB / 1.34 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/1.375, allocations: 325.5 kB / 1.341 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/1.375, allocations: 219.1 kB / 1.341 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.375, allocations: 5.906 kB / 1.341 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/1.376, allocations: 24.03 kB / 1.341 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/1.376, allocations: 18.05 kB / 1.341 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/1.376, allocations: 4.625 kB / 1.341 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001085/1.377, allocations: 0.8486 MB / 1.342 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.377, allocations: 0 / 1.342 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001768/1.379, allocations: 0.7038 MB / 1.343 GB, free: 13.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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.002098/1.381, allocations: 1.268 MB / 1.344 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007333/1.381, allocations: 402.8 kB / 1.344 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.381, allocations: 320 / 1.344 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/1.382, allocations: 82.61 kB / 1.344 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.384, allocations: 0.4928 MB / 1.345 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/1.392, allocations: 7.783 MB / 1.352 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.393, allocations: 1.047 MB / 1.353 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008774/1.394, allocations: 215.2 kB / 1.354 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/1.394, allocations: 400.3 kB / 1.354 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.394, allocations: 7.094 kB / 1.354 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/1.454, allocations: 35.88 MB / 1.389 GB, free: 15.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/9.975, allocations: 1.688 kB / 1.389 GB, free: 15.87 MB / 1.029 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)