Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 104.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001157, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.893/1.893, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 71.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3297, allocations: 114.5 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003877/0.3336, allocations: 1.629 MB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.3363, allocations: 1.41 MB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3365, allocations: 3.938 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.337, allocations: 55.75 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.3374, allocations: 51.75 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3377, allocations: 79.09 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.3382, allocations: 171.6 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.589e-05/0.3382, allocations: 12.22 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.3384, allocations: 55.78 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.3387, allocations: 71.78 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.3387, allocations: 12 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.3389, allocations: 59.98 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.339, allocations: 51.77 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.3391, allocations: 51.67 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4736/0.8128, allocations: 193.7 kB / 0.7879 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8128, allocations: 0 / 0.7879 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8128, allocations: 1.875 kB / 0.7879 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8129, allocations: 0.7188 kB / 0.7879 GB, free: 46.18 MB / 0.6544 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.0007093/0.8136, allocations: 472.7 kB / 0.7883 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8136, allocations: 10.81 kB / 0.7884 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.8137, allocations: 14.62 kB / 0.7884 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.814, allocations: 270.1 kB / 0.7886 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.814, allocations: 3.609 kB / 0.7886 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.8141, allocations: 10.81 kB / 0.7886 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.8143, allocations: 118.7 kB / 0.7888 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8143, allocations: 0 / 0.7888 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8143, allocations: 0 / 0.7888 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8143, allocations: 2.875 kB / 0.7888 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.8145, allocations: 139.9 kB / 0.7889 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.8148, allocations: 232.7 kB / 0.7891 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.8151, allocations: 178 kB / 0.7893 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.39e-05/0.8152, allocations: 52.33 kB / 0.7893 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.8152, allocations: 11.08 kB / 0.7893 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.8156, allocations: 111.1 kB / 0.7894 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.8156, allocations: 0 / 0.7894 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004576/0.816, allocations: 228.6 kB / 0.7897 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.8161, allocations: 78.2 kB / 0.7897 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.8162, allocations: 206.2 kB / 0.7899 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.8163, allocations: 27.55 kB / 0.79 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.8163, allocations: 114.9 kB / 0.7901 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.8164, allocations: 46.61 kB / 0.7901 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.8164, allocations: 31.31 kB / 0.7901 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.8165, allocations: 328.4 kB / 0.7905 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.8166, allocations: 54.36 kB / 0.7905 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.657e-05/0.8167, allocations: 72.17 kB / 0.7906 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.8169, allocations: 121.4 kB / 0.7907 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8169, allocations: 2.781 kB / 0.7907 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002768/0.8172, allocations: 200 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.8172, allocations: 4.438 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8172, allocations: 3.812 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8173, allocations: 1.719 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.8174, allocations: 28.64 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.8174, allocations: 2.625 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.8174, allocations: 10.28 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.8175, allocations: 6.531 kB / 0.7909 GB, free: 44.45 MB / 0.6544 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 9.023e-05/0.8176, allocations: 134.6 kB / 0.7911 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.8176, allocations: 19.66 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.8177, allocations: 26.66 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8177, allocations: 2.625 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8177, allocations: 2.875 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8177, allocations: 0 / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.8178, allocations: 238.1 kB / 0.7914 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.8179, allocations: 7.188 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.8179, allocations: 18.8 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8179, allocations: 0 / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.8179, allocations: 2.625 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8179, allocations: 2.625 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8179, allocations: 2 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.8182, allocations: 213.2 kB / 0.7916 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.8183, allocations: 97.53 kB / 0.7917 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.8183, allocations: 6.688 kB / 0.7917 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.8184, allocations: 7.391 kB / 0.7917 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.8184, allocations: 11.98 kB / 0.7917 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.8184, allocations: 9.281 kB / 0.7917 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.892e-05/0.8185, allocations: 147.6 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8185, allocations: 1.062 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002468/0.8188, allocations: 38.95 kB / 0.7919 GB, free: 43.87 MB / 0.6544 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.001069/0.8199, allocations: 453.9 kB / 0.7923 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.8202, allocations: 129.8 kB / 0.7924 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8202, allocations: 0 / 0.7924 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.8203, allocations: 61.12 kB / 0.7925 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.8206, allocations: 42.59 kB / 0.7925 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.8211, allocations: 293 kB / 0.7928 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.8213, allocations: 0.7212 MB / 0.7935 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.8214, allocations: 52.25 kB / 0.7936 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.8215, allocations: 27.78 kB / 0.7936 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8215, allocations: 0 / 0.7936 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.005353/0.8268, allocations: 2.502 MB / 0.7961 GB, free: 42.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)