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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 192.6 kB / 16.14 MB, free: 6.668 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.385/1.385, allocations: 205.1 MB / 222 MB, free: 4.73 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.599/1.599, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001377/0.001377, allocations: 68.91 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005542/0.1983, allocations: 4.366 MB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.201, allocations: 1.867 MB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.2012, allocations: 11.94 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2027, allocations: 0.5516 MB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.2032, allocations: 254.8 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.2037, allocations: 227.5 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000702/0.2044, allocations: 0.8374 MB / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.2049, allocations: 307.2 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.2051, allocations: 215.2 kB / 0.7912 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.2055, allocations: 279 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.2055, allocations: 27.94 kB / 0.7915 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.206, allocations: 315.3 kB / 0.7918 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.2062, allocations: 139.6 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2064, allocations: 203 kB / 0.7921 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.207, allocations: 0.6151 MB / 0.7927 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.207, allocations: 0 / 0.7927 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.207, allocations: 0 / 0.7927 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.207, allocations: 4 kB / 0.7927 GB, free: 3.695 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.00115/0.2082, allocations: 0.7213 MB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2082, allocations: 8.031 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.797e-05/0.2083, allocations: 82.64 kB / 0.7935 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.2092, allocations: 152.2 kB / 0.7937 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2096, allocations: 326.6 kB / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2096, allocations: 21.38 kB / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.2097, allocations: 36.38 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.2104, allocations: 0.5355 MB / 0.7946 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2104, allocations: 0 / 0.7946 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.2105, allocations: 12 kB / 0.7946 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.2105, allocations: 36.58 kB / 0.7946 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2111, allocations: 390.3 kB / 0.795 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.2134, allocations: 2.407 MB / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.2139, allocations: 258.5 kB / 0.7976 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2141, allocations: 108.8 kB / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.2141, allocations: 0 / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2141, allocations: 38.56 kB / 0.7977 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.2141, allocations: 7.938 kB / 0.7977 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002003/0.2161, allocations: 1.132 MB / 0.7988 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.2162, allocations: 59.34 kB / 0.7989 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.2165, allocations: 300.5 kB / 0.7992 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2165, allocations: 33.7 kB / 0.7992 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2166, allocations: 223.6 kB / 0.7994 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.2167, allocations: 82.75 kB / 0.7995 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.2168, allocations: 65.94 kB / 0.7996 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2169, allocations: 338.8 kB / 0.7999 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.217, allocations: 100.6 kB / 0.8 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2172, allocations: 191.8 kB / 0.8002 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2176, allocations: 320.6 kB / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2176, allocations: 4 kB / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006851/0.2183, allocations: 438 kB / 0.8009 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2183, allocations: 16 kB / 0.8009 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2184, allocations: 0 / 0.8009 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.2187, allocations: 98.48 kB / 0.801 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.219, allocations: 67.91 kB / 0.8011 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.2218, allocations: 4.068 MB / 0.805 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.222, allocations: 12 kB / 0.805 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.222, allocations: 8 kB / 0.805 GB, free: 6.055 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.000197/0.2222, allocations: 190.5 kB / 0.8052 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.2223, allocations: 31.62 kB / 0.8053 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.2224, allocations: 38.31 kB / 0.8053 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2224, allocations: 4 kB / 0.8053 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2224, allocations: 0 / 0.8053 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2224, allocations: 4 kB / 0.8053 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.2228, allocations: 397.3 kB / 0.8057 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2228, allocations: 0 / 0.8057 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.223, allocations: 39.91 kB / 0.8057 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.2233, allocations: 90.5 kB / 0.8058 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.2233, allocations: 8 kB / 0.8058 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.2259, allocations: 4.072 MB / 0.8098 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.226, allocations: 0 / 0.8098 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.2267, allocations: 0.5658 MB / 0.8103 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2269, allocations: 128.7 kB / 0.8105 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.2269, allocations: 4 kB / 0.8105 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2271, allocations: 12 kB / 0.8105 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.2272, allocations: 15.92 kB / 0.8105 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2272, allocations: 8 kB / 0.8105 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00019/0.2274, allocations: 211.1 kB / 0.8107 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2274, allocations: 4.062 kB / 0.8107 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004408/0.2278, allocations: 100 kB / 0.8108 GB, free: 15.65 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.0009946/0.2288, allocations: 1.101 MB / 0.8119 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007511/0.2296, allocations: 0.6057 MB / 0.8125 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2296, allocations: 0 / 0.8125 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.23, allocations: 467.9 kB / 0.8129 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.2305, allocations: 81.47 kB / 0.813 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.2344, allocations: 3.525 MB / 0.8164 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.2348, allocations: 0.8424 MB / 0.8173 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.2351, allocations: 54.94 kB / 0.8173 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.2352, allocations: 111.4 kB / 0.8174 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.2352, allocations: 0 / 0.8174 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2537, allocations: 7.376 MB / 0.8246 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.2539, allocations: 219.9 kB / 0.8248 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.011, allocations: 0 / 0.8248 GB, free: 1.105 MB / 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)