Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Data.TestData,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.599/2.599, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001291/0.001291, allocations: 178.1 kB / 371 MB, free: 10.84 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.222/2.222, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0009569/0.0009567, allocations: 89.98 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006726/0.0006729, allocations: 15.91 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2317, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002131/0.234, allocations: 1.335 MB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2362, allocations: 1.319 MB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.2364, allocations: 0 / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.2368, allocations: 47.83 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.237, allocations: 39.83 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2374, allocations: 69.48 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2376, allocations: 139.6 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.123e-05/0.2377, allocations: 12.17 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2378, allocations: 55.77 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.238, allocations: 63.81 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.238, allocations: 8 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2382, allocations: 59.91 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.2383, allocations: 43.88 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.2384, allocations: 41.64 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.2386, allocations: 139.9 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2386, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2387, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2387, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 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.0006462/0.2393, allocations: 446.6 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2394, allocations: 12.03 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.2394, allocations: 42.55 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2395, allocations: 19.77 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.2399, allocations: 254.4 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.24, allocations: 8 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.24, allocations: 4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2403, allocations: 115.3 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2403, allocations: 0 / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.2403, allocations: 8 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2403, allocations: 0 / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.2407, allocations: 139.8 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.241, allocations: 233.5 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.2415, allocations: 170.5 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2417, allocations: 56.83 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.2417, allocations: 11.98 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.242, allocations: 107.3 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.2421, allocations: 0 / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0006586/0.2427, allocations: 223.8 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2428, allocations: 85.06 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.243, allocations: 198.8 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2431, allocations: 33.7 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.2431, allocations: 116.1 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.2432, allocations: 55.28 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.2432, allocations: 0 / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.2433, allocations: 326.8 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2435, allocations: 43.98 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2437, allocations: 74.48 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2439, allocations: 60.02 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2439, allocations: 0 / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000453/0.2443, allocations: 193.4 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2444, allocations: 4 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2444, allocations: 0 / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2444, allocations: 3.984 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.2446, allocations: 24 kB / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2446, allocations: 0 / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2448, allocations: 15.88 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2448, allocations: 12.03 kB / 0.9847 GB, free: 21.53 MB / 0.6198 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.2449, allocations: 134.6 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.245, allocations: 15.92 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.2451, allocations: 33.45 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2451, allocations: 4 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2454, allocations: 245.4 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2454, allocations: 0 / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.2455, allocations: 24 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2455, allocations: 0 / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.2455, allocations: 7.984 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2455, allocations: 0 / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2456, allocations: 0 / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.246, allocations: 218 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.2461, allocations: 88.92 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.2461, allocations: 8 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.2462, allocations: 11.98 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2463, allocations: 7.984 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.2463, allocations: 8 kB / 0.9855 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000167/0.2465, allocations: 160 kB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2465, allocations: 0 / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003258/0.2469, allocations: 36 kB / 0.9857 GB, free: 20.46 MB / 0.6198 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 (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.001836/0.2487, allocations: 1.111 MB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.2492, allocations: 123.9 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2492, allocations: 4 kB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2493, allocations: 56.05 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2498, allocations: 33.28 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.2518, allocations: 0.9857 MB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.252, allocations: 0.7202 MB / 0.9886 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.2522, allocations: 57.59 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2524, allocations: 55.41 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2524, allocations: 0 / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.282, allocations: 4.185 MB / 0.9928 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.2823, allocations: 246.2 kB / 0.9931 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/2.921, allocations: 0 / 0.9931 GB, free: 13.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)