Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 72.38 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2072, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005584/0.2128, allocations: 4.34 MB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.2156, allocations: 1.855 MB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.2158, allocations: 11.94 kB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.2173, allocations: 0.5954 MB / 0.7901 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.2179, allocations: 262.6 kB / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.2185, allocations: 250.2 kB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.2191, allocations: 0.6113 MB / 0.7912 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.2198, allocations: 467.1 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.2201, allocations: 247.2 kB / 0.7919 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.2205, allocations: 267 kB / 0.7921 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.2206, allocations: 36 kB / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.221, allocations: 255.4 kB / 0.7924 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2212, allocations: 147.6 kB / 0.7925 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2214, allocations: 219 kB / 0.7928 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006312/0.222, allocations: 0.6036 MB / 0.7933 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.222, allocations: 4 kB / 0.7934 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.222, allocations: 0 / 0.7934 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.222, allocations: 0 / 0.7934 GB, free: 3.219 MB / 0.6075 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.001212/0.2233, allocations: 0.7251 MB / 0.7941 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2233, allocations: 8.031 kB / 0.7941 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.935e-05/0.2234, allocations: 78.72 kB / 0.7941 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.2244, allocations: 148.2 kB / 0.7943 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.2247, allocations: 330.5 kB / 0.7946 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.2248, allocations: 29.36 kB / 0.7946 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.2248, allocations: 32.38 kB / 0.7947 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.2256, allocations: 0.5355 MB / 0.7952 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2256, allocations: 0 / 0.7952 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.2257, allocations: 12 kB / 0.7952 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.2257, allocations: 36.64 kB / 0.7952 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.2263, allocations: 386.3 kB / 0.7956 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.2287, allocations: 2.407 MB / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.2292, allocations: 266.3 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.2293, allocations: 115.4 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2294, allocations: 0 / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2294, allocations: 38.56 kB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.2294, allocations: 0 / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002104/0.2315, allocations: 1.129 MB / 0.7994 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.2315, allocations: 55.41 kB / 0.7995 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.2318, allocations: 300.4 kB / 0.7998 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.2319, allocations: 33.7 kB / 0.7998 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.232, allocations: 223.6 kB / 0.8 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.2321, allocations: 86.8 kB / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.2322, allocations: 65.88 kB / 0.8002 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2323, allocations: 342.8 kB / 0.8005 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2324, allocations: 104.6 kB / 0.8006 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.2326, allocations: 183.8 kB / 0.8008 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.233, allocations: 320.6 kB / 0.8011 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.233, allocations: 0 / 0.8011 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007237/0.2338, allocations: 444 kB / 0.8015 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2338, allocations: 10.66 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2338, allocations: 0 / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.2342, allocations: 102.7 kB / 0.8016 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.2345, allocations: 59.91 kB / 0.8017 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.2374, allocations: 4.391 MB / 0.806 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2377, allocations: 12.02 kB / 0.806 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2377, allocations: 19.98 kB / 0.806 GB, free: 5.234 MB / 0.6231 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.0001816/0.2379, allocations: 180.8 kB / 0.8062 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.238, allocations: 35.59 kB / 0.8062 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.2381, allocations: 42.31 kB / 0.8062 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2381, allocations: 8.062 kB / 0.8062 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2381, allocations: 4 kB / 0.8063 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2381, allocations: 0 / 0.8063 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.2385, allocations: 393.4 kB / 0.8066 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2385, allocations: 7.875 kB / 0.8066 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.2387, allocations: 39.97 kB / 0.8067 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.239, allocations: 94.44 kB / 0.8068 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2391, allocations: 4 kB / 0.8068 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.2419, allocations: 4.387 MB / 0.8111 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.242, allocations: 7.938 kB / 0.8111 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.2427, allocations: 0.5541 MB / 0.8116 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2429, allocations: 124.7 kB / 0.8117 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.2429, allocations: 12.27 kB / 0.8117 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.2431, allocations: 11.98 kB / 0.8117 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2432, allocations: 19.97 kB / 0.8118 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.2432, allocations: 8 kB / 0.8118 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001939/0.2434, allocations: 211 kB / 0.812 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2434, allocations: 0 / 0.812 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004565/0.2439, allocations: 100 kB / 0.8121 GB, free: 14.49 MB / 0.6387 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.001004/0.2449, allocations: 1.101 MB / 0.8131 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008614/0.2458, allocations: 0.6363 MB / 0.8138 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2458, allocations: 0.75 kB / 0.8138 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.2462, allocations: 468 kB / 0.8142 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.2467, allocations: 75.28 kB / 0.8143 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.2506, allocations: 3.391 MB / 0.8176 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.251, allocations: 0.835 MB / 0.8184 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.2512, allocations: 58.94 kB / 0.8185 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2513, allocations: 111.4 kB / 0.8186 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.2513, allocations: 0 / 0.8186 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/0.3198, allocations: 7.628 MB / 0.826 GB, free: 40 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.981/10.3, allocations: 20.31 kB / 0.826 GB, free: 20 kB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)