Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.519/1.519, allocations: 288.4 MB / 303.6 MB, free: 8.152 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.0008899/0.0008899, allocations: 182.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.4 MB / 0.631 GB, free: 9.785 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.0007762/0.0007765, allocations: 94.8 kB / 0.7444 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005714/0.0005714, allocations: 11.69 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1884, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003803/0.1923, allocations: 3.814 MB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.1949, allocations: 1.743 MB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.1954, allocations: 4 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1958, allocations: 71.42 kB / 0.9857 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.1965, allocations: 238.8 kB / 0.9859 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.1971, allocations: 207.6 kB / 0.9861 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.1978, allocations: 0.6852 MB / 0.9868 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.1982, allocations: 439.4 kB / 0.9872 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1984, allocations: 199.2 kB / 0.9874 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.1988, allocations: 255 kB / 0.9876 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.1989, allocations: 20 kB / 0.9876 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1993, allocations: 295.4 kB / 0.9879 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.1994, allocations: 127.6 kB / 0.9881 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1996, allocations: 212.8 kB / 0.9883 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.1999, allocations: 463 kB / 0.9887 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1999, allocations: 4 kB / 0.9887 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2, allocations: 7.938 kB / 0.9887 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2, allocations: 0 / 0.9887 GB, free: 18.43 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008598/0.2008, allocations: 0.6628 MB / 0.9894 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2009, allocations: 8.031 kB / 0.9894 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.2009, allocations: 74.72 kB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.2018, allocations: 144.3 kB / 0.9896 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2021, allocations: 326.6 kB / 0.9899 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2022, allocations: 29.36 kB / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.2022, allocations: 36.38 kB / 0.9899 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.2029, allocations: 0.5315 MB / 0.9905 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2029, allocations: 4 kB / 0.9905 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.2029, allocations: 12 kB / 0.9905 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.203, allocations: 36.62 kB / 0.9905 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.2034, allocations: 386.3 kB / 0.9909 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.2053, allocations: 2.407 MB / 0.9932 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.2058, allocations: 274.9 kB / 0.9935 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.2059, allocations: 112.8 kB / 0.9936 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2059, allocations: 0 / 0.9936 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.206, allocations: 38.56 kB / 0.9936 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.153e-06/0.206, allocations: 0 / 0.9936 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001827/0.2078, allocations: 1.131 MB / 0.9947 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2078, allocations: 55.41 kB / 0.9948 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.2081, allocations: 296.5 kB / 0.9951 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2081, allocations: 33.7 kB / 0.9951 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.2082, allocations: 239.5 kB / 0.9953 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.2082, allocations: 82.84 kB / 0.9954 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.2082, allocations: 4 kB / 0.9954 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.2083, allocations: 338.8 kB / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2084, allocations: 100.6 kB / 0.9958 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.2086, allocations: 187.7 kB / 0.996 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.2089, allocations: 313.4 kB / 0.9963 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2089, allocations: 3.984 kB / 0.9963 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005706/0.2095, allocations: 442.4 kB / 0.9967 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2095, allocations: 4 kB / 0.9968 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2095, allocations: 4.344 kB / 0.9968 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.2098, allocations: 110.4 kB / 0.9969 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.2101, allocations: 59.91 kB / 0.9969 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.2121, allocations: 4.068 MB / 1.001 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2123, allocations: 8 kB / 1.001 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2123, allocations: 16 kB / 1.001 GB, free: 4.906 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.2124, allocations: 185.8 kB / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.2125, allocations: 31.7 kB / 1.001 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.2126, allocations: 38.31 kB / 1.001 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2126, allocations: 4 kB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2126, allocations: 0 / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2126, allocations: 3.938 kB / 1.001 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.2129, allocations: 405.3 kB / 1.002 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2129, allocations: 0 / 1.002 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.2131, allocations: 31.98 kB / 1.002 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.2133, allocations: 98.48 kB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2134, allocations: 4 kB / 1.002 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.2153, allocations: 4.083 MB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2153, allocations: 0 / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.2161, allocations: 0.5548 MB / 1.006 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2162, allocations: 124.7 kB / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.2163, allocations: 11.92 kB / 1.006 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2165, allocations: 12 kB / 1.006 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2165, allocations: 19.97 kB / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2165, allocations: 8 kB / 1.006 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001933/0.2167, allocations: 207.1 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2167, allocations: 4.062 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004125/0.2172, allocations: 96 kB / 1.007 GB, free: 14.5 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009769/0.2181, allocations: 1.105 MB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.2189, allocations: 0.6094 MB / 1.008 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.219, allocations: 0 / 1.008 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.2195, allocations: 472 kB / 1.009 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.2199, allocations: 70.73 kB / 1.009 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.2226, allocations: 2.048 MB / 1.011 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.223, allocations: 0.8347 MB / 1.012 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000205/0.2232, allocations: 62.92 kB / 1.012 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2234, allocations: 111.4 kB / 1.012 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.2234, allocations: 0 / 1.012 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7059/0.9293, allocations: 7.169 MB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/0.9297, allocations: 217.6 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/3.229, allocations: 0 / 1.019 GB, free: 1.762 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)