Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 302.4 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002076/0.002076, allocations: 190.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 89.48 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006738/0.000674, allocations: 13 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2276, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.08351/0.3112, allocations: 56.08 MB / 1.033 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03654/0.3478, allocations: 17.09 MB / 1.05 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.3513, allocations: 63.62 kB / 1.05 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.3552, allocations: 0.59 MB / 1.051 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009183/0.3645, allocations: 2.034 MB / 1.053 GB, free: 188 kB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006193/0.3707, allocations: 1.276 MB / 1.054 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009478/0.3802, allocations: 4.876 MB / 1.059 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.3831, allocations: 1.073 MB / 1.06 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.3884, allocations: 1.493 MB / 1.061 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/0.3918, allocations: 1.163 MB / 1.062 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005842/0.3924, allocations: 64 kB / 1.062 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.398, allocations: 1.286 MB / 1.063 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007847/0.3988, allocations: 298.5 kB / 1.064 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009872/0.3998, allocations: 368.8 kB / 1.064 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005354/0.4052, allocations: 2.252 MB / 1.066 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.4053, allocations: 3.984 kB / 1.066 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4053, allocations: 0 / 1.066 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.877e-05/0.4054, allocations: 0 / 1.066 GB, free: 1.988 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006331/0.4117, allocations: 1.931 MB / 1.068 GB, free: 0 / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.6271/1.039, allocations: 8.266 kB / 1.068 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006317/1.04, allocations: 156.6 kB / 1.068 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/1.043, allocations: 403.5 kB / 1.069 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005984/1.049, allocations: 1.495 MB / 1.07 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.049, allocations: 81.7 kB / 1.07 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/1.049, allocations: 103.1 kB / 1.07 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/1.053, allocations: 1.238 MB / 1.072 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/1.053, allocations: 3.141 kB / 1.072 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/1.054, allocations: 47.28 kB / 1.072 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-05/1.054, allocations: 26.94 kB / 1.072 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/1.058, allocations: 0.954 MB / 1.073 GB, free: 89.25 MB / 0.6823 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.01307/1.071, allocations: 7 MB / 1.079 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/1.074, allocations: 0.8208 MB / 1.08 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.076, allocations: 399 kB / 1.081 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002167/1.078, allocations: 1.784 MB / 1.082 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/1.08, allocations: 472.8 kB / 1.083 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.989e-06/1.08, allocations: 0.6875 kB / 1.083 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.005265/1.085, allocations: 1.196 MB / 1.084 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/1.086, allocations: 94.59 kB / 1.084 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/1.089, allocations: 1.284 MB / 1.085 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/1.089, allocations: 44.55 kB / 1.085 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/1.09, allocations: 0.7213 MB / 1.086 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/1.091, allocations: 258.5 kB / 1.086 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/1.091, allocations: 19.25 kB / 1.086 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.091, allocations: 341 kB / 1.087 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/1.092, allocations: 334.6 kB / 1.087 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.094, allocations: 0.5922 MB / 1.088 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.096, allocations: 406.9 kB / 1.088 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.096, allocations: 2.094 kB / 1.088 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004387/1.1, allocations: 1.114 MB / 1.089 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/1.1, allocations: 305.6 kB / 1.089 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/1.1, allocations: 12.91 kB / 1.089 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.101, allocations: 12.38 kB / 1.089 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.102, allocations: 223 kB / 1.09 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/1.102, allocations: 16.34 kB / 1.09 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.105, allocations: 172.1 kB / 1.09 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.105, allocations: 47.81 kB / 1.09 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.105, allocations: 4.719 kB / 1.09 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003846/1.109, allocations: 0.9478 MB / 1.091 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/1.109, allocations: 10.23 kB / 1.091 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/1.109, allocations: 13.16 kB / 1.091 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.111, allocations: 225.7 kB / 1.091 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/1.111, allocations: 21.02 kB / 1.091 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.113, allocations: 156.4 kB / 1.091 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.113, allocations: 48.12 kB / 1.091 GB, free: 76.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.115, allocations: 418.6 kB / 1.092 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/1.115, allocations: 151.6 kB / 1.092 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/1.12, allocations: 1.394 MB / 1.093 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/1.12, allocations: 17.06 kB / 1.093 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.12, allocations: 2.094 kB / 1.093 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003576/1.124, allocations: 1.209 MB / 1.094 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008651/1.133, allocations: 2.671 MB / 1.097 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/1.133, allocations: 3.438 kB / 1.097 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.134, allocations: 166.4 kB / 1.097 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/1.134, allocations: 7.938 kB / 1.097 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.135, allocations: 31.97 kB / 1.097 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/1.135, allocations: 9.266 kB / 1.097 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.135, allocations: 1.031 kB / 1.097 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/1.141, allocations: 1.811 MB / 1.099 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.143, allocations: 390.1 kB / 1.099 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005261/1.143, allocations: 20.5 kB / 1.099 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.145, allocations: 110.5 kB / 1.099 GB, free: 73.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/1.146, allocations: 73 kB / 1.099 GB, free: 73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.146, allocations: 41.53 kB / 1.099 GB, free: 73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002482/1.148, allocations: 0.8712 MB / 1.1 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.51e-07/1.148, allocations: 0.9375 kB / 1.1 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004157/1.152, allocations: 0.8514 MB / 1.101 GB, free: 72.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00896/1.162, allocations: 3.175 MB / 1.104 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005569/1.167, allocations: 1.545 MB / 1.106 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.167, allocations: 0 / 1.106 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/1.169, allocations: 0.5844 MB / 1.106 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008296/1.178, allocations: 0.6429 MB / 1.107 GB, free: 69.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04374/1.221, allocations: 9.299 MB / 1.116 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009179/1.222, allocations: 1.24 MB / 1.117 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002765/1.225, allocations: 408.5 kB / 1.118 GB, free: 63.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.227, allocations: 0.6466 MB / 1.118 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/1.227, allocations: 0 / 1.118 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/1.366, allocations: 44.28 MB / 1.162 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/1.366, allocations: 262.1 kB / 1.162 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.421/5.787, allocations: 0 / 1.162 GB, free: 22.55 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)