Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowAIT,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",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 1.443/1.443, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.0009319/0.000932, allocations: 184.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008067/0.0008067, allocations: 101.1 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 18.84 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2028, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.7147/0.9175, allocations: 196.4 MB / 1.171 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1276/1.045, allocations: 58.2 MB / 1.227 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01398/1.059, allocations: 182.7 kB / 1.228 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01453/1.074, allocations: 2.177 MB / 1.23 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.04326/1.117, allocations: 7.669 MB / 1.237 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01493/1.132, allocations: 3.671 MB / 1.241 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.02856/1.161, allocations: 20.19 MB / 1.26 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/1.174, allocations: 4.725 MB / 1.265 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01653/1.19, allocations: 5.728 MB / 1.271 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/1.201, allocations: 4.671 MB / 1.275 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002997/1.204, allocations: 271.9 kB / 1.276 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/1.218, allocations: 3.122 MB / 1.279 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003246/1.221, allocations: 1.104 MB / 1.28 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004117/1.225, allocations: 1.35 MB / 1.281 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01521/1.24, allocations: 8.763 MB / 1.29 GB, free: 13.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/1.24, allocations: 0 / 1.29 GB, free: 13.64 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.963e-06/1.24, allocations: 0 / 1.29 GB, free: 13.64 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000369/1.241, allocations: 0 / 1.29 GB, free: 13.64 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01678/1.257, allocations: 6.234 MB / 1.296 GB, free: 7.328 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/1.258, allocations: 8.031 kB / 1.296 GB, free: 7.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/1.259, allocations: 0.4904 MB / 1.296 GB, free: 6.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/1.262, allocations: 0.7029 MB / 1.297 GB, free: 6.109 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.278, allocations: 6.045 MB / 1.303 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003276/1.279, allocations: 283.3 kB / 1.303 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/1.28, allocations: 379.9 kB / 1.303 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/1.291, allocations: 4.077 MB / 1.307 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/1.292, allocations: 15.84 kB / 1.307 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009057/1.293, allocations: 148 kB / 1.307 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/1.293, allocations: 107.9 kB / 1.308 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008431/1.301, allocations: 3.12 MB / 1.311 GB, free: 7.773 MB / 0.8386 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.04462/1.346, allocations: 23.45 MB / 1.333 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/1.35, allocations: 2.287 MB / 1.336 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/1.353, allocations: 1.258 MB / 1.337 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004731/1.357, allocations: 6.378 MB / 1.343 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/1.36, allocations: 1.407 MB / 1.345 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=261): time 5.42e-06/1.36, allocations: 0 / 1.345 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261): time 0.008113/1.369, allocations: 3.671 MB / 1.348 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.369, allocations: 103.1 kB / 1.348 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.38, allocations: 4.216 MB / 1.352 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006456/1.381, allocations: 77.7 kB / 1.352 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/1.384, allocations: 2.44 MB / 1.355 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.385, allocations: 0.9009 MB / 1.356 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/1.386, allocations: 56 kB / 1.356 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002859/1.386, allocations: 411.8 kB / 1.356 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/1.388, allocations: 0.9932 MB / 1.357 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/1.391, allocations: 1.65 MB / 1.359 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005068/1.396, allocations: 2.782 MB / 1.361 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.396, allocations: 4 kB / 1.361 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.008004/1.404, allocations: 3.34 MB / 1.365 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00042/1.404, allocations: 0.5675 MB / 1.365 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.631e-05/1.405, allocations: 35.98 kB / 1.365 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/1.405, allocations: 31.98 kB / 1.365 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.407, allocations: 0.6123 MB / 1.366 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-05/1.407, allocations: 35.88 kB / 1.366 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/1.412, allocations: 489.1 kB / 1.366 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/1.412, allocations: 155.9 kB / 1.367 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.412, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006102/1.418, allocations: 2.876 MB / 1.369 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.407e-05/1.418, allocations: 31.98 kB / 1.369 GB, free: 7.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/1.418, allocations: 28 kB / 1.369 GB, free: 7.133 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.421, allocations: 0.6007 MB / 1.37 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.846e-05/1.421, allocations: 51.98 kB / 1.37 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.425, allocations: 465.5 kB / 1.371 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/1.425, allocations: 143.9 kB / 1.371 GB, free: 5.883 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002492/1.428, allocations: 1.068 MB / 1.372 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.429, allocations: 497.9 kB / 1.372 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009636/1.439, allocations: 4.871 MB / 1.377 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-05/1.439, allocations: 55.89 kB / 1.377 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/1.439, allocations: 4 kB / 1.377 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005365/1.444, allocations: 3.478 MB / 1.38 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/1.464, allocations: 9.368 MB / 1.39 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-05/1.464, allocations: 15.98 kB / 1.39 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.466, allocations: 0.5188 MB / 1.39 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-05/1.466, allocations: 12 kB / 1.39 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003257/1.467, allocations: 108 kB / 1.39 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.39e-05/1.467, allocations: 12 kB / 1.39 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.467, allocations: 4 kB / 1.39 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.478, allocations: 5.931 MB / 1.396 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003774/1.481, allocations: 1.231 MB / 1.397 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/1.483, allocations: 68 kB / 1.397 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004507/1.488, allocations: 381.7 kB / 1.398 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006424/1.488, allocations: 274.2 kB / 1.398 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000564/1.489, allocations: 143.9 kB / 1.398 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006816/1.496, allocations: 2.826 MB / 1.401 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.31e-07/1.496, allocations: 4 kB / 1.401 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0121/1.508, allocations: 3.164 MB / 1.404 GB, free: 3.625 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.01671/1.525, allocations: 8.532 MB / 1.412 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009295/1.534, allocations: 5.194 MB / 1.417 GB, free: 5.848 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/1.534, allocations: 5.312 kB / 1.417 GB, free: 5.844 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00371/1.538, allocations: 2.261 MB / 1.419 GB, free: 3.508 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/1.553, allocations: 2.201 MB / 1.422 GB, free: 1.328 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5499/2.103, allocations: 37.49 MB / 1.458 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/2.107, allocations: 2.855 MB / 1.461 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00713/2.114, allocations: 1.442 MB / 1.462 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004431/2.118, allocations: 2.577 MB / 1.465 GB, free: 309.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.673e-06/2.118, allocations: 1.375 kB / 1.465 GB, free: 309.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5055/2.624, allocations: 159.3 MB / 1.621 GB, free: 173.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003217/2.624, allocations: 242.8 kB / 1.621 GB, free: 173.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/9.526, allocations: 3.938 kB / 1.621 GB, free: 173.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)