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: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009726, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001134/0.001134, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.612/1.612, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004875/0.0004876, allocations: 14.03 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005064/0.2546, allocations: 3.799 MB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.2576, allocations: 1.747 MB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.2578, allocations: 7.938 kB / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.258, allocations: 79.41 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.2585, allocations: 202.9 kB / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.259, allocations: 191.3 kB / 0.7932 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.2597, allocations: 0.6775 MB / 0.7938 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.2601, allocations: 392.9 kB / 0.7942 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.2604, allocations: 199.2 kB / 0.7944 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.2608, allocations: 243.1 kB / 0.7946 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.2608, allocations: 20 kB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.2611, allocations: 123.8 kB / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2612, allocations: 131.6 kB / 0.7949 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/0.2613, allocations: 101.5 kB / 0.795 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.2618, allocations: 459 kB / 0.7954 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2618, allocations: 0 / 0.7954 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2618, allocations: 8 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2618, allocations: 0 / 0.7954 GB, free: 3.523 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.001057/0.2629, allocations: 0.655 MB / 0.7961 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2629, allocations: 8.031 kB / 0.7961 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.2638, allocations: 155.2 kB / 0.7962 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.2642, allocations: 317.4 kB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2643, allocations: 36.98 kB / 0.7966 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.2643, allocations: 28 kB / 0.7966 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.265, allocations: 0.5236 MB / 0.7971 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2651, allocations: 11.94 kB / 0.7971 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.2651, allocations: 16 kB / 0.7971 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.2652, allocations: 36.58 kB / 0.7972 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.2657, allocations: 386.3 kB / 0.7975 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.268, allocations: 2.419 MB / 0.7999 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.2685, allocations: 262.5 kB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2687, allocations: 117.1 kB / 0.8002 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2687, allocations: 4 kB / 0.8003 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2687, allocations: 30.56 kB / 0.8003 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2687, allocations: 0 / 0.8003 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001931/0.2707, allocations: 1.128 MB / 0.8014 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2707, allocations: 55.39 kB / 0.8014 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.271, allocations: 296.5 kB / 0.8017 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.271, allocations: 29.7 kB / 0.8017 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2711, allocations: 235.5 kB / 0.802 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.2712, allocations: 86.84 kB / 0.8021 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.2712, allocations: 4 kB / 0.8021 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2714, allocations: 338.8 kB / 0.8024 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.2715, allocations: 104.6 kB / 0.8025 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.2717, allocations: 183.8 kB / 0.8027 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2719, allocations: 133 kB / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.272, allocations: 4 kB / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006716/0.2726, allocations: 446.2 kB / 0.8032 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2727, allocations: 4 kB / 0.8032 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2727, allocations: 4 kB / 0.8032 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.273, allocations: 94.45 kB / 0.8033 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.2733, allocations: 63.94 kB / 0.8034 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.2762, allocations: 4.064 MB / 0.8073 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2764, allocations: 15.97 kB / 0.8074 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2765, allocations: 15.98 kB / 0.8074 GB, free: 6.305 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 (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.0002033/0.2767, allocations: 178.6 kB / 0.8075 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.2767, allocations: 31.67 kB / 0.8076 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.2768, allocations: 42.31 kB / 0.8076 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2768, allocations: 4.141 kB / 0.8076 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2768, allocations: 0 / 0.8076 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2768, allocations: 3.984 kB / 0.8076 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.2773, allocations: 393.4 kB / 0.808 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2773, allocations: 0 / 0.808 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.2775, allocations: 47.91 kB / 0.808 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.2777, allocations: 90.45 kB / 0.8081 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2778, allocations: 7.938 kB / 0.8081 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.2805, allocations: 4.072 MB / 0.8121 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2805, allocations: 0 / 0.8121 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.2813, allocations: 0.5546 MB / 0.8127 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2814, allocations: 124.7 kB / 0.8128 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.2815, allocations: 11.95 kB / 0.8128 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2816, allocations: 4 kB / 0.8128 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.2817, allocations: 19.97 kB / 0.8128 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2817, allocations: 12.06 kB / 0.8128 GB, free: 220 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001907/0.2819, allocations: 211.1 kB / 0.813 GB, free: 12 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2819, allocations: 0 / 0.813 GB, free: 12 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000475/0.2824, allocations: 96.05 kB / 0.8131 GB, free: 15.91 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 (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.0001289/0.2826, allocations: 103.2 kB / 0.8132 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000793/0.2834, allocations: 0.609 MB / 0.8138 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2834, allocations: 0 / 0.8138 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.2838, allocations: 479.3 kB / 0.8143 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.2843, allocations: 60.62 kB / 0.8143 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2855, allocations: 0.8689 MB / 0.8152 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.2859, allocations: 0.8348 MB / 0.816 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.2861, allocations: 58.94 kB / 0.816 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.2862, allocations: 27.38 kB / 0.8161 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.2862, allocations: 0 / 0.8161 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.007636/0.2939, allocations: 4.085 MB / 0.8201 GB, free: 8.719 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: