Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.224/1.224, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0008244/0.0008244, allocations: 182.5 kB / 325.8 MB, free: 2.727 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.345/1.345, 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.0006622/0.0006621, allocations: 94.89 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 8.844 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1785, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003253/0.1818, allocations: 3.791 MB / 0.8999 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1834, allocations: 1.598 MB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1835, allocations: 7.938 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1846, allocations: 0.5528 MB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.1849, allocations: 219.1 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1852, allocations: 197.4 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.1856, allocations: 0.7637 MB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.186, allocations: 317.9 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1861, allocations: 187.3 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.1864, allocations: 235.1 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.1864, allocations: 20 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.1866, allocations: 195.6 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.1867, allocations: 135.5 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1869, allocations: 167.1 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1872, allocations: 0.5061 MB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1872, allocations: 0 / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1872, allocations: 0 / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1872, allocations: 4 kB / 0.9048 GB, free: 59.25 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008166/0.188, allocations: 0.6203 MB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1881, allocations: 8.031 kB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.1881, allocations: 74.72 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.1887, allocations: 112.4 kB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.189, allocations: 295.6 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.189, allocations: 55.25 kB / 0.906 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.1891, allocations: 36.38 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.1897, allocations: 0.5046 MB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1897, allocations: 7.938 kB / 0.9065 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.1897, allocations: 20 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.1898, allocations: 28.98 kB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.1903, allocations: 383.7 kB / 0.9069 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1919, allocations: 2.224 MB / 0.9091 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.1925, allocations: 270.6 kB / 0.9094 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.1928, allocations: 160.8 kB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1928, allocations: 0 / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.1928, allocations: 42.5 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 9.82e-07/0.1928, allocations: 0 / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001209/0.1941, allocations: 0.5891 MB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.1941, allocations: 51.41 kB / 0.9102 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1942, allocations: 236.8 kB / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1943, allocations: 33.64 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1943, allocations: 211.7 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1944, allocations: 63.09 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.1944, allocations: 29.7 kB / 0.9107 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.1944, allocations: 330.8 kB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1946, allocations: 91.94 kB / 0.9111 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1948, allocations: 183.1 kB / 0.9113 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1952, allocations: 295.2 kB / 0.9116 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1952, allocations: 3.938 kB / 0.9116 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007096/0.1959, allocations: 378.8 kB / 0.9119 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.196, allocations: 167.3 kB / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.196, allocations: 4 kB / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/0.1964, allocations: 113.6 kB / 0.9122 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.1966, allocations: 51.91 kB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1986, allocations: 2.822 MB / 0.915 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1989, allocations: 31.77 kB / 0.9151 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1989, allocations: 8 kB / 0.9151 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-06/0.1989, allocations: 4 kB / 0.9151 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005897/0.1995, allocations: 324.6 kB / 0.9154 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1995, allocations: 7.938 kB / 0.9154 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.1998, allocations: 76.88 kB / 0.9155 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2, allocations: 59.91 kB / 0.9155 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2013, allocations: 1.507 MB / 0.917 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2015, allocations: 39.8 kB / 0.917 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2015, allocations: 8 kB / 0.917 GB, free: 45.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.2016, allocations: 253 kB / 0.9173 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.2016, allocations: 15.81 kB / 0.9173 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.2017, allocations: 30.19 kB / 0.9173 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2017, allocations: 3.938 kB / 0.9173 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2017, allocations: 7.984 kB / 0.9173 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2017, allocations: 0 / 0.9173 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.2027, allocations: 0.843 MB / 0.9181 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2027, allocations: 0 / 0.9181 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2029, allocations: 31.98 kB / 0.9182 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.2032, allocations: 109.6 kB / 0.9183 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2032, allocations: 12 kB / 0.9183 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.205, allocations: 2.799 MB / 0.921 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.205, allocations: 4.031 kB / 0.921 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.2056, allocations: 424.6 kB / 0.9214 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.2057, allocations: 112.8 kB / 0.9215 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.2058, allocations: 15.98 kB / 0.9216 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.2059, allocations: 15.94 kB / 0.9216 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.206, allocations: 19.91 kB / 0.9216 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.206, allocations: 8 kB / 0.9216 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.097e-05/0.2061, allocations: 164.5 kB / 0.9218 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2061, allocations: 0 / 0.9218 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004437/0.2066, allocations: 171.3 kB / 0.9219 GB, free: 40.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007362/0.2073, allocations: 0.9548 MB / 0.9229 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.2087, allocations: 0.7678 MB / 0.9236 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2088, allocations: 0.5625 kB / 0.9236 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.2094, allocations: 381.2 kB / 0.924 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.2097, allocations: 54.19 kB / 0.924 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.2126, allocations: 3.015 MB / 0.927 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2128, allocations: 0.8029 MB / 0.9277 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.213, allocations: 62.23 kB / 0.9278 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.2131, allocations: 91.34 kB / 0.9279 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2131, allocations: 4 kB / 0.9279 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3276/0.5407, allocations: 6.639 MB / 0.9344 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.541, allocations: 243.9 kB / 0.9346 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.534, allocations: 0 / 0.9346 GB, free: 27.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)