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.746/1.746, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.001045/0.001045, allocations: 181.5 kB / 372 MB, free: 10.29 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.632/1.632, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008483/0.0008483, allocations: 83.88 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004361, allocations: 11.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2027, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00375/0.2065, allocations: 3.799 MB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.209, allocations: 1.747 MB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.2093, allocations: 7.938 kB / 0.9851 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2096, allocations: 75.41 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.2102, allocations: 202.9 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.2109, allocations: 187.6 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007328/0.2116, allocations: 0.6814 MB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.2121, allocations: 388.9 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.2124, allocations: 199.2 kB / 0.9867 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.2129, allocations: 251.1 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.213, allocations: 20 kB / 0.987 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.2135, allocations: 127.8 kB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.2136, allocations: 127.6 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.2138, allocations: 101.5 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005663/0.2143, allocations: 455.1 kB / 0.9878 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2144, allocations: 4 kB / 0.9878 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2144, allocations: 0 / 0.9878 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.2144, allocations: 0 / 0.9878 GB, free: 19.2 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.001383/0.2158, allocations: 0.6715 MB / 0.9884 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.2158, allocations: 12.02 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.216, allocations: 78.47 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.217, allocations: 159.3 kB / 0.9887 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2175, allocations: 317.4 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.2176, allocations: 21 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.2176, allocations: 39.98 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.2184, allocations: 0.5275 MB / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2184, allocations: 0 / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.2185, allocations: 15.94 kB / 0.9896 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.2185, allocations: 32.64 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.2191, allocations: 386.2 kB / 0.99 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.2215, allocations: 2.411 MB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.222, allocations: 260.9 kB / 0.9926 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2222, allocations: 116.8 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2222, allocations: 0 / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2222, allocations: 34.56 kB / 0.9927 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.2222, allocations: 4 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001981/0.2242, allocations: 1.121 MB / 0.9938 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.2243, allocations: 55.41 kB / 0.9939 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.2245, allocations: 308.3 kB / 0.9942 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2246, allocations: 33.7 kB / 0.9942 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2247, allocations: 227.6 kB / 0.9944 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.2247, allocations: 86.83 kB / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.2248, allocations: 4 kB / 0.9945 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.2249, allocations: 338.8 kB / 0.9948 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.225, allocations: 100.6 kB / 0.9949 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.2252, allocations: 187.8 kB / 0.9951 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.2254, allocations: 131 kB / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2254, allocations: 4 kB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006197/0.226, allocations: 442.8 kB / 0.9956 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.226, allocations: 8 kB / 0.9956 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.226, allocations: 7.953 kB / 0.9957 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.2264, allocations: 94.69 kB / 0.9957 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.2266, allocations: 63.91 kB / 0.9958 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.2288, allocations: 4.072 MB / 0.9998 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.2291, allocations: 8 kB / 0.9998 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.2291, allocations: 19.98 kB / 0.9998 GB, free: 5.883 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.0002055/0.2293, allocations: 173.8 kB / 1 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.2294, allocations: 35.58 kB / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.2295, allocations: 38.31 kB / 1 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2295, allocations: 0 / 1 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2295, allocations: 8.062 kB / 1 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2295, allocations: 3.984 kB / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.2299, allocations: 401.4 kB / 1 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2299, allocations: 0 / 1 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.2301, allocations: 35.92 kB / 1 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.2304, allocations: 98.45 kB / 1.001 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2304, allocations: 4 kB / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.2324, allocations: 4.064 MB / 1.005 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2325, allocations: 3.984 kB / 1.005 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.2332, allocations: 0.556 MB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2333, allocations: 128.8 kB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2333, allocations: 7.891 kB / 1.005 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2336, allocations: 20.05 kB / 1.005 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2336, allocations: 15.98 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2336, allocations: 7.984 kB / 1.005 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002257/0.2339, allocations: 207.1 kB / 1.005 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2339, allocations: 0 / 1.005 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005083/0.2344, allocations: 96 kB / 1.006 GB, free: 15.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.00122/0.2356, allocations: 1.104 MB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000986/0.2366, allocations: 0.6016 MB / 1.007 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2366, allocations: 7.938 kB / 1.007 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.2372, allocations: 476.5 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.2377, allocations: 76.55 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.2408, allocations: 2.052 MB / 1.01 GB, free: 11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.2413, allocations: 0.8387 MB / 1.011 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.2415, allocations: 62.94 kB / 1.011 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2417, allocations: 107.4 kB / 1.011 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of SimCode: time 1.653e-06/0.2417, allocations: 0 / 1.011 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.2627, allocations: 7.131 MB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.2629, allocations: 212.5 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.455, allocations: 0 / 1.018 GB, free: 2.781 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)