Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",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.272/1.272, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008887/0.0008887, allocations: 175.1 kB / 325.8 MB, free: 2.703 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.361/1.361, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007127/0.0007125, allocations: 94.19 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 12.84 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1595, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003673/0.1632, allocations: 4.043 MB / 0.9001 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1652, allocations: 1.886 MB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1653, allocations: 11.94 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.1664, allocations: 0.5559 MB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1668, allocations: 238.9 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.1672, allocations: 227.5 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.1676, allocations: 0.8375 MB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.168, allocations: 302.9 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1681, allocations: 207.1 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1684, allocations: 259 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.1684, allocations: 16 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.1688, allocations: 311.3 kB / 0.9049 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.1689, allocations: 135.6 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.169, allocations: 198.9 kB / 0.9052 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.1694, allocations: 0.5956 MB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1694, allocations: 0 / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1694, allocations: 0 / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1694, allocations: 0 / 0.9058 GB, free: 58.27 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008164/0.1703, allocations: 0.6629 MB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1703, allocations: 12.03 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1704, allocations: 70.72 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000819/0.1712, allocations: 152.3 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.1715, allocations: 334.4 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1715, allocations: 25.38 kB / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.1716, allocations: 32.38 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.1721, allocations: 0.5316 MB / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1722, allocations: 7.938 kB / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.1722, allocations: 16 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.1722, allocations: 28.64 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.1727, allocations: 390.3 kB / 0.9079 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1744, allocations: 2.415 MB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.1748, allocations: 264.9 kB / 0.9106 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.1749, allocations: 108.8 kB / 0.9107 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.175, allocations: 8 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.175, allocations: 38.5 kB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.175, allocations: 0 / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001627/0.1766, allocations: 1.121 MB / 0.9118 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1767, allocations: 63.41 kB / 0.9119 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1769, allocations: 304.4 kB / 0.9121 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1769, allocations: 25.7 kB / 0.9122 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.177, allocations: 239.6 kB / 0.9124 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.177, allocations: 70.86 kB / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1771, allocations: 37.7 kB / 0.9125 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.1771, allocations: 342.8 kB / 0.9128 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1773, allocations: 100.6 kB / 0.9129 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1774, allocations: 188.4 kB / 0.9131 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1777, allocations: 314.3 kB / 0.9134 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1777, allocations: 4 kB / 0.9134 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005522/0.1783, allocations: 445.8 kB / 0.9138 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1783, allocations: 8 kB / 0.9138 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1783, allocations: 0 / 0.9138 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.1786, allocations: 98.67 kB / 0.9139 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.1788, allocations: 67.91 kB / 0.914 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.1807, allocations: 4.079 MB / 0.918 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1809, allocations: 12.03 kB / 0.918 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1809, allocations: 15.98 kB / 0.918 GB, free: 44.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.1811, allocations: 182.3 kB / 0.9182 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.1811, allocations: 31.62 kB / 0.9182 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.1812, allocations: 42.31 kB / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1812, allocations: 8.094 kB / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1812, allocations: 0 / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1812, allocations: 3.984 kB / 0.9183 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1815, allocations: 405.3 kB / 0.9187 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1815, allocations: 0 / 0.9187 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1817, allocations: 35.92 kB / 0.9187 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.182, allocations: 90.5 kB / 0.9188 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.182, allocations: 4 kB / 0.9188 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.1837, allocations: 4.068 MB / 0.9227 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1837, allocations: 8.203 kB / 0.9228 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.1843, allocations: 0.5515 MB / 0.9233 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.1844, allocations: 128.7 kB / 0.9234 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1845, allocations: 8 kB / 0.9234 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1847, allocations: 20.05 kB / 0.9234 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1847, allocations: 11.98 kB / 0.9235 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1847, allocations: 8 kB / 0.9235 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001356/0.1849, allocations: 211.1 kB / 0.9237 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1849, allocations: 0 / 0.9237 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000378/0.1852, allocations: 96 kB / 0.9238 GB, free: 38.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007339/0.186, allocations: 1.104 MB / 0.9248 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.1866, allocations: 0.6055 MB / 0.9254 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1866, allocations: 4.625 kB / 0.9254 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.1869, allocations: 476 kB / 0.9259 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.1874, allocations: 68.55 kB / 0.9259 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.1904, allocations: 3.518 MB / 0.9294 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1906, allocations: 0.8347 MB / 0.9302 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.1908, allocations: 58.94 kB / 0.9303 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.191, allocations: 115.4 kB / 0.9304 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.191, allocations: 0 / 0.9304 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/0.3544, allocations: 7.268 MB / 0.9375 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001152/0.3546, allocations: 228.4 kB / 0.9377 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.512, allocations: 0 / 0.9377 GB, free: 23.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)