Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 171.6 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008378/0.0008379, allocations: 93.94 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 13.59 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.02292/0.2262, allocations: 32.98 MB / 0.9284 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009723/0.2359, allocations: 9.801 MB / 0.938 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.2372, allocations: 27.81 kB / 0.938 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.2384, allocations: 326.1 kB / 0.9383 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.2421, allocations: 1.283 MB / 0.9396 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.2445, allocations: 0.8312 MB / 0.9404 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.2473, allocations: 2.649 MB / 0.943 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007144/0.248, allocations: 0.5065 MB / 0.9435 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.2497, allocations: 0.8634 MB / 0.9443 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.2504, allocations: 0.6066 MB / 0.9449 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.2505, allocations: 32 kB / 0.9449 GB, free: 18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.2527, allocations: 1.247 MB / 0.9461 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.2529, allocations: 139.3 kB / 0.9463 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.2533, allocations: 405.8 kB / 0.9467 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.2554, allocations: 1.593 MB / 0.9482 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2555, allocations: 0 / 0.9482 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2555, allocations: 0 / 0.9482 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2555, allocations: 0 / 0.9482 GB, free: 14.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001688/0.2572, allocations: 1.098 MB / 0.9493 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.2572, allocations: 12.03 kB / 0.9493 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.011e-05/0.2573, allocations: 82.7 kB / 0.9494 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.2575, allocations: 87.91 kB / 0.9495 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.2584, allocations: 0.6483 MB / 0.9501 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2584, allocations: 33 kB / 0.9501 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.2585, allocations: 48 kB / 0.9502 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.2592, allocations: 434.4 kB / 0.9506 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2592, allocations: 7.922 kB / 0.9506 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.2592, allocations: 20 kB / 0.9506 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2593, allocations: 12 kB / 0.9506 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006253/0.2599, allocations: 371.8 kB / 0.951 GB, free: 11.68 MB / 0.6042 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.003195/0.2631, allocations: 2.795 MB / 0.9537 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.2638, allocations: 387.6 kB / 0.9541 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2641, allocations: 161.1 kB / 0.9542 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008582/0.265, allocations: 1.433 MB / 0.9556 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.265, allocations: 42.83 kB / 0.9557 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.437e-06/0.265, allocations: 0 / 0.9557 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.001158/0.2662, allocations: 0.5047 MB / 0.9562 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2662, allocations: 59.39 kB / 0.9562 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.267, allocations: 0.7313 MB / 0.9569 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2671, allocations: 37.7 kB / 0.957 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2673, allocations: 332.2 kB / 0.9573 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.2674, allocations: 118.2 kB / 0.9574 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.2674, allocations: 45.69 kB / 0.9574 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.2675, allocations: 325.9 kB / 0.9578 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2677, allocations: 132.7 kB / 0.9579 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.268, allocations: 205.6 kB / 0.9581 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.2686, allocations: 341.4 kB / 0.9584 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2686, allocations: 0 / 0.9584 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007758/0.2694, allocations: 478 kB / 0.9589 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.2694, allocations: 133.8 kB / 0.959 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.2695, allocations: 3.984 kB / 0.959 GB, free: 2.727 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2695, allocations: 7.938 kB / 0.959 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.27, allocations: 111.8 kB / 0.9591 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002567/0.2703, allocations: 0.5939 MB / 0.9597 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2708, allocations: 67.41 kB / 0.9598 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.2708, allocations: 19.94 kB / 0.9598 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.2709, allocations: 4 kB / 0.9598 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006389/0.2715, allocations: 379.8 kB / 0.9601 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2715, allocations: 4 kB / 0.9601 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.2715, allocations: 4 kB / 0.9601 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.2718, allocations: 96.03 kB / 0.9602 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2718, allocations: 7.938 kB / 0.9602 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.2723, allocations: 63.5 kB / 0.9603 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.2723, allocations: 23.98 kB / 0.9603 GB, free: 1.336 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002953/0.2726, allocations: 269 kB / 0.9606 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2728, allocations: 75.06 kB / 0.9607 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.2741, allocations: 0.8121 MB / 0.9614 GB, free: 196 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.2741, allocations: 19.92 kB / 0.9615 GB, free: 176 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2741, allocations: 3.938 kB / 0.9615 GB, free: 172 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2741, allocations: 3.984 kB / 0.9615 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.2763, allocations: 1.462 MB / 0.9629 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.2763, allocations: 4 kB / 0.9629 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.2767, allocations: 91.98 kB / 0.963 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.2767, allocations: 4.047 kB / 0.963 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.2767, allocations: 19.97 kB / 0.963 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003115/0.2771, allocations: 0.5898 MB / 0.9636 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2771, allocations: 4.031 kB / 0.9636 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.2786, allocations: 1.012 MB / 0.9646 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.2789, allocations: 227.9 kB / 0.9648 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.279, allocations: 12 kB / 0.9648 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.2794, allocations: 27.97 kB / 0.9648 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2795, allocations: 52.31 kB / 0.9649 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.2796, allocations: 16 kB / 0.9649 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007292/0.2803, allocations: 0.5224 MB / 0.9654 GB, free: 12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2803, allocations: 0 / 0.9654 GB, free: 12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001347/0.2817, allocations: 451.5 kB / 0.9658 GB, free: 11.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.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 (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002632/0.2843, allocations: 1.91 MB / 0.9677 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.2859, allocations: 0.745 MB / 0.9684 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2859, allocations: 4.625 kB / 0.9684 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.2864, allocations: 353.8 kB / 0.9688 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.2883, allocations: 385.6 kB / 0.9691 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/0.2983, allocations: 6.51 MB / 0.9755 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.2988, allocations: 0.9353 MB / 0.9764 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008335/0.2996, allocations: 216.3 kB / 0.9766 GB, free: 328 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.3, allocations: 299.3 kB / 0.9769 GB, free: 28 kB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/0.3, allocations: 4 kB / 0.9769 GB, free: 24 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2023/0.5023, allocations: 26.42 MB / 1.003 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003852/0.5028, allocations: 297.8 kB / 1.003 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/3.372, allocations: 0 / 1.003 GB, free: 5.578 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)