Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 152 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.002097/0.002097, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.513/2.513, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 71.88 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6118, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002835/0.6147, allocations: 1.634 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.6166, allocations: 1.491 MB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.6167, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.6171, allocations: 51.75 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.6173, allocations: 55.69 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.6176, allocations: 112.8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.6178, allocations: 163.6 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.6178, allocations: 8.219 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.6179, allocations: 67.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.6181, allocations: 60.38 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.6182, allocations: 12 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.6183, allocations: 63.97 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.6184, allocations: 47.84 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.6184, allocations: 67.64 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.6187, allocations: 189.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.6187, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6187, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.6187, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005691/0.6193, allocations: 478.5 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6194, allocations: 8.031 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.6194, allocations: 34.75 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.6195, allocations: 16.75 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.6198, allocations: 255.9 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6198, allocations: 12.31 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.6198, allocations: 11.92 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.6201, allocations: 115.3 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.6201, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.6201, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.6201, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.6203, allocations: 147.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.6206, allocations: 229.5 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.621, allocations: 182.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6211, allocations: 52.84 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.6211, allocations: 7.984 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.6213, allocations: 111.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.6214, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004709/0.6218, allocations: 227.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.6219, allocations: 81.11 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.6221, allocations: 206.6 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.6221, allocations: 25.7 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.6222, allocations: 116.1 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.6222, allocations: 39.45 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.6223, allocations: 33.7 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.6224, allocations: 330.8 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.6225, allocations: 47.97 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.6226, allocations: 76.52 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6228, allocations: 129.7 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.6228, allocations: 7.875 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003081/0.6232, allocations: 189.4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6232, allocations: 8 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6232, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6232, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.6233, allocations: 35.92 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.6233, allocations: 3.984 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.6234, allocations: 11.84 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.6234, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000107/0.6235, allocations: 143.2 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.6236, allocations: 19.81 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.6237, allocations: 29.52 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6237, allocations: 0 / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6237, allocations: 3.938 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6237, allocations: 0 / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.6239, allocations: 237.5 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6239, allocations: 8 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.6239, allocations: 12 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.624, allocations: 7.984 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.624, allocations: 4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.624, allocations: 4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.624, allocations: 4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.6243, allocations: 208.8 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.6244, allocations: 92.86 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.6244, allocations: 11.94 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.6245, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.6245, allocations: 15.98 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.6245, allocations: 7.984 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001294/0.6247, allocations: 156.2 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6247, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002503/0.6249, allocations: 43.98 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001452/0.6264, allocations: 1.091 MB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.6267, allocations: 131.9 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6267, allocations: 0 / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.6268, allocations: 63.98 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.6271, allocations: 40.52 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.6293, allocations: 1.927 MB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.6296, allocations: 0.7241 MB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000127/0.6298, allocations: 49.59 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.6299, allocations: 55.41 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6299, allocations: 0 / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.6557, allocations: 4.597 MB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.814, allocations: 12.75 kB / 1.034 GB, free: 1.488 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)