Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 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.001461/0.001461, allocations: 200.2 kB / 16.54 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 62.73 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2524, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8124/1.065, allocations: 265.5 MB / 1.312 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02887/1.094, allocations: 24.31 MB / 1.336 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003727/1.098, allocations: 92.12 kB / 1.336 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/1.1, allocations: 0.8485 MB / 1.337 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009426/1.11, allocations: 3.54 MB / 1.34 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/1.113, allocations: 1.228 MB / 1.342 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004642/1.117, allocations: 3.237 MB / 1.345 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/1.119, allocations: 1.164 MB / 1.346 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00774/1.127, allocations: 3.324 MB / 1.349 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/1.129, allocations: 0.939 MB / 1.35 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/1.129, allocations: 88.16 kB / 1.35 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007707/1.137, allocations: 3.688 MB / 1.354 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/1.137, allocations: 269.4 kB / 1.354 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009785/1.138, allocations: 0.6362 MB / 1.355 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006556/1.145, allocations: 3.305 MB / 1.358 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.145, allocations: 0 / 1.358 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.145, allocations: 0 / 1.358 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.509e-05/1.145, allocations: 0 / 1.358 GB, free: 9.824 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.002878/1.148, allocations: 1.741 MB / 1.359 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.148, allocations: 13.84 kB / 1.359 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/1.148, allocations: 104.8 kB / 1.36 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/1.15, allocations: 296.2 kB / 1.36 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.151, allocations: 1.122 MB / 1.361 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/1.151, allocations: 47.19 kB / 1.361 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/1.151, allocations: 63.75 kB / 1.361 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/1.152, allocations: 0.6726 MB / 1.362 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.152, allocations: 2.094 kB / 1.362 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/1.152, allocations: 25.28 kB / 1.362 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.152, allocations: 16.34 kB / 1.362 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/1.153, allocations: 430 kB / 1.362 GB, free: 7.672 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.003756/1.157, allocations: 5.377 MB / 1.367 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/1.157, allocations: 201.1 kB / 1.368 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/1.157, allocations: 116.8 kB / 1.368 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/1.158, allocations: 210 kB / 1.368 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/1.158, allocations: 41.03 kB / 1.368 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004715/1.158, allocations: 55.56 kB / 1.368 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/1.158, allocations: 0 / 1.368 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008567/1.159, allocations: 342 kB / 1.368 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.159, allocations: 160.3 kB / 1.368 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/1.16, allocations: 1.171 MB / 1.37 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.16, allocations: 34.95 kB / 1.37 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/1.161, allocations: 0.5732 MB / 1.37 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/1.161, allocations: 51.45 kB / 1.37 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.161, allocations: 89.62 kB / 1.37 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/1.161, allocations: 321.4 kB / 1.371 GB, free: 256 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.161, allocations: 96.27 kB / 1.371 GB, free: 204 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/1.162, allocations: 394.3 kB / 1.371 GB, free: 15.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/1.162, allocations: 450.9 kB / 1.372 GB, free: 15.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.162, allocations: 0 / 1.372 GB, free: 15.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008899/1.163, allocations: 0.4931 MB / 1.372 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.163, allocations: 7.375 kB / 1.372 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.163, allocations: 12.38 kB / 1.372 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.163, allocations: 10.75 kB / 1.372 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/1.163, allocations: 87.08 kB / 1.372 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.163, allocations: 17.39 kB / 1.372 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/1.164, allocations: 46.89 kB / 1.372 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/1.164, allocations: 22.72 kB / 1.372 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004535/1.165, allocations: 314 kB / 1.373 GB, free: 14.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003667/1.165, allocations: 375.7 kB / 1.373 GB, free: 14.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000491/1.166, allocations: 437 kB / 1.373 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/1.166, allocations: 4.062 kB / 1.373 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008106/1.166, allocations: 487.7 kB / 1.374 GB, free: 13.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.166, allocations: 15.12 kB / 1.374 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.166, allocations: 8.531 kB / 1.374 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/1.166, allocations: 11.06 kB / 1.374 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/1.167, allocations: 85.02 kB / 1.374 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.167, allocations: 16.67 kB / 1.374 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/1.167, allocations: 49.33 kB / 1.374 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/1.167, allocations: 18.16 kB / 1.374 GB, free: 13.82 MB / 1.014 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 0.0001338/1.168, allocations: 217.5 kB / 1.374 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/1.168, allocations: 116.2 kB / 1.374 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/1.168, allocations: 249.1 kB / 1.375 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.168, allocations: 1.969 kB / 1.375 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.168, allocations: 3.375 kB / 1.375 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.168, allocations: 4 kB / 1.375 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.17, allocations: 1.218 MB / 1.376 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.17, allocations: 6.578 kB / 1.376 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/1.17, allocations: 25.92 kB / 1.376 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.17, allocations: 2.406 kB / 1.376 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.17, allocations: 6.656 kB / 1.376 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.17, allocations: 1.875 kB / 1.376 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.17, allocations: 0 / 1.376 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/1.171, allocations: 323 kB / 1.376 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/1.171, allocations: 220.8 kB / 1.376 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/1.171, allocations: 7.406 kB / 1.376 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/1.171, allocations: 25.44 kB / 1.376 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/1.172, allocations: 19.52 kB / 1.376 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/1.172, allocations: 2.531 kB / 1.376 GB, free: 11.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001191/1.173, allocations: 0.8543 MB / 1.377 GB, free: 11.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.173, allocations: 0 / 1.377 GB, free: 11.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00202/1.175, allocations: 0.7065 MB / 1.378 GB, free: 11.32 MB / 1.014 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.002443/1.177, allocations: 1.26 MB / 1.379 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008335/1.178, allocations: 406.6 kB / 1.379 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.178, allocations: 0 / 1.379 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/1.178, allocations: 70.17 kB / 1.38 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.18, allocations: 0.5018 MB / 1.38 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/1.19, allocations: 7.802 MB / 1.388 GB, free: 4.754 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/1.191, allocations: 1.036 MB / 1.389 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000845/1.192, allocations: 213.6 kB / 1.389 GB, free: 3.789 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/1.192, allocations: 400 kB / 1.389 GB, free: 3.457 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.192, allocations: 3.062 kB / 1.389 GB, free: 3.457 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08089/1.273, allocations: 35.74 MB / 1.424 GB, free: 5.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/11.4, allocations: 4.188 kB / 1.424 GB, free: 5.039 MB / 1.045 GB (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)