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.0007633/0.0007633, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004434/0.004434, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.325/1.325, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.637/1.637, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005175/0.0005175, allocations: 13.06 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00577/0.259, allocations: 3.98 MB / 0.7919 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.2619, allocations: 1.832 MB / 0.7937 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.2622, allocations: 8 kB / 0.7937 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2625, allocations: 71.42 kB / 0.7937 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.2632, allocations: 246.8 kB / 0.794 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.2638, allocations: 234.7 kB / 0.7942 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008012/0.2646, allocations: 0.8374 MB / 0.795 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.2651, allocations: 437.9 kB / 0.7954 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.2653, allocations: 207.1 kB / 0.7956 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2658, allocations: 255 kB / 0.7959 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.2658, allocations: 20 kB / 0.7959 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.2663, allocations: 311.3 kB / 0.7962 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2665, allocations: 127.6 kB / 0.7963 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.2667, allocations: 216.7 kB / 0.7965 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.2672, allocations: 0.6075 MB / 0.7971 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2672, allocations: 0 / 0.7971 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2673, allocations: 0 / 0.7971 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2673, allocations: 0 / 0.7971 GB, free: 2.094 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.001051/0.2683, allocations: 0.6589 MB / 0.7978 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2684, allocations: 11.97 kB / 0.7978 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.238e-05/0.2685, allocations: 82.7 kB / 0.7979 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.2694, allocations: 152.3 kB / 0.798 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.2698, allocations: 322.6 kB / 0.7983 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2698, allocations: 21.38 kB / 0.7983 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.2699, allocations: 40.28 kB / 0.7984 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.2707, allocations: 0.5355 MB / 0.7989 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2707, allocations: 3.938 kB / 0.7989 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2707, allocations: 12 kB / 0.7989 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.2708, allocations: 40.62 kB / 0.7989 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.2714, allocations: 386.3 kB / 0.7993 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.2739, allocations: 2.411 MB / 0.8017 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.2744, allocations: 258.5 kB / 0.8019 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2746, allocations: 116.8 kB / 0.802 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.2746, allocations: 3.984 kB / 0.802 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2746, allocations: 34.56 kB / 0.8021 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.2746, allocations: 0 / 0.8021 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002137/0.2768, allocations: 1.139 MB / 0.8032 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2768, allocations: 55.41 kB / 0.8032 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.2772, allocations: 300.5 kB / 0.8035 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.2773, allocations: 29.7 kB / 0.8035 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2775, allocations: 231.5 kB / 0.8038 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.2775, allocations: 86.78 kB / 0.8038 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.2776, allocations: 33.7 kB / 0.8039 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2778, allocations: 338.8 kB / 0.8042 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.278, allocations: 104.6 kB / 0.8043 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.2782, allocations: 183.8 kB / 0.8045 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.2787, allocations: 319.4 kB / 0.8048 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2787, allocations: 0 / 0.8048 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007383/0.2795, allocations: 445.8 kB / 0.8052 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2795, allocations: 4 kB / 0.8052 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2795, allocations: 7.938 kB / 0.8052 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.2799, allocations: 98.69 kB / 0.8053 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.2801, allocations: 63.89 kB / 0.8054 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.2835, allocations: 4.079 MB / 0.8094 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2837, allocations: 8 kB / 0.8094 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.2838, allocations: 16 kB / 0.8094 GB, free: 4.512 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.0002277/0.284, allocations: 178.3 kB / 0.8095 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.2841, allocations: 35.61 kB / 0.8096 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/0.2842, allocations: 38.42 kB / 0.8096 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2842, allocations: 3.984 kB / 0.8096 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.2842, allocations: 4 kB / 0.8096 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2842, allocations: 0 / 0.8096 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.2847, allocations: 401.3 kB / 0.81 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2847, allocations: 0 / 0.81 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.2849, allocations: 36.02 kB / 0.81 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.2852, allocations: 98.48 kB / 0.8101 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2852, allocations: 3.984 kB / 0.8101 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.2881, allocations: 4.072 MB / 0.8141 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2881, allocations: 0 / 0.8141 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.2889, allocations: 0.5519 MB / 0.8147 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.2891, allocations: 128.7 kB / 0.8148 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.2891, allocations: 8.141 kB / 0.8148 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2893, allocations: 12 kB / 0.8148 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2894, allocations: 19.97 kB / 0.8148 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2894, allocations: 11.94 kB / 0.8148 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002467/0.2897, allocations: 207.1 kB / 0.815 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2897, allocations: 0 / 0.815 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004774/0.2902, allocations: 96 kB / 0.8151 GB, free: 14.12 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.00123/0.2914, allocations: 1.112 MB / 0.8162 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008177/0.2922, allocations: 0.6057 MB / 0.8168 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2922, allocations: 128 / 0.8168 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.2927, allocations: 475.2 kB / 0.8172 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.2932, allocations: 76.55 kB / 0.8173 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.2974, allocations: 3.563 MB / 0.8208 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.2979, allocations: 0.8425 MB / 0.8216 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.2981, allocations: 58.92 kB / 0.8217 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.2982, allocations: 107.4 kB / 0.8218 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.2982, allocations: 0 / 0.8218 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06806/0.3663, allocations: 7.248 MB / 0.8289 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.3666, allocations: 217.6 kB / 0.8291 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.076, allocations: 3.375 kB / 0.8291 GB, free: 15.68 MB / 0.6544 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)