Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.661/2.661, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001616/0.001616, allocations: 187.2 kB / 370.8 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.453/2.453, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00116/0.00116, allocations: 104 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000676/0.0006763, allocations: 12.2 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2322, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001877/0.2342, allocations: 1.314 MB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2364, allocations: 1.292 MB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.2366, allocations: 0 / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.2371, allocations: 79.69 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2372, allocations: 55.77 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.2381, allocations: 200.7 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.2383, allocations: 119.7 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.369e-05/0.2384, allocations: 9.484 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2385, allocations: 75.7 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.2387, allocations: 63.75 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2387, allocations: 8 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005712/0.2393, allocations: 259.6 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.2394, allocations: 63.8 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.2394, allocations: 57.58 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.2399, allocations: 267.4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.2399, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.24, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.24, allocations: 3.938 kB / 0.982 GB, free: 24.44 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009586/0.2409, allocations: 0.5315 MB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.241, allocations: 16.02 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.241, allocations: 34.56 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.2411, allocations: 27.66 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.2416, allocations: 266.4 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2417, allocations: 67.39 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2418, allocations: 8 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2421, allocations: 89.59 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2421, allocations: 3.938 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2421, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2421, allocations: 3.938 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.2425, allocations: 107.9 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.2428, allocations: 257.3 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.245, allocations: 330.4 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.2452, allocations: 109.2 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2452, allocations: 38.56 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.2453, allocations: 0 / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006865/0.246, allocations: 213.5 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.246, allocations: 51.41 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.2463, allocations: 295.2 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2464, allocations: 29.7 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.2464, allocations: 120.5 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2465, allocations: 23.73 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.2465, allocations: 0 / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2466, allocations: 346.8 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.2469, allocations: 151.9 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.2472, allocations: 155.9 kB / 0.9852 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.2475, allocations: 176.5 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2475, allocations: 0 / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007283/0.2483, allocations: 401 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2483, allocations: 4 kB / 0.9857 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.2483, allocations: 64 / 0.9857 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2484, allocations: 12 kB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2485, allocations: 15.98 kB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2485, allocations: 0 / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2488, allocations: 27.59 kB / 0.9858 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2488, allocations: 4 kB / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001184/0.2489, allocations: 133.8 kB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2489, allocations: 19.72 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.2495, allocations: 187.4 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2495, allocations: 0 / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2495, allocations: 4 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2495, allocations: 0 / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.2497, allocations: 237.5 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2498, allocations: 7.938 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.2499, allocations: 15.98 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2499, allocations: 0 / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.25, allocations: 0 / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.25, allocations: 4 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.25, allocations: 3.938 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.2504, allocations: 192.7 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.2505, allocations: 104.8 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.2506, allocations: 0 / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2507, allocations: 4 kB / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.2508, allocations: 11.98 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2508, allocations: 4 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000213/0.251, allocations: 193.9 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.251, allocations: 0 / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005088/0.2516, allocations: 115.9 kB / 0.987 GB, free: 19.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0009443/0.2525, allocations: 0.8113 MB / 0.9878 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000664/0.2532, allocations: 359.3 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2532, allocations: 0 / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2534, allocations: 63.91 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2538, allocations: 36.61 kB / 0.9882 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2548, allocations: 0.709 MB / 0.9889 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2551, allocations: 0.7399 MB / 0.9896 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.2552, allocations: 21.02 kB / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2553, allocations: 59.41 kB / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.2553, allocations: 4 kB / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.2895, allocations: 5.001 MB / 0.9946 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.2898, allocations: 222.2 kB / 0.9948 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.026, allocations: 0 / 0.9948 GB, free: 11.07 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)