Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008038/0.0008037, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008785/0.0008785, allocations: 172.7 kB / 15.95 MB, free: 208 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.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.63/1.63, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005868/0.0005871, allocations: 13.75 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2707, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004076/0.2749, allocations: 2.774 MB / 0.79 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2771, allocations: 1.279 MB / 0.7912 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.2774, allocations: 4 kB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2776, allocations: 43.64 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.2781, allocations: 123.4 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.2785, allocations: 103.7 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000529/0.2791, allocations: 370.8 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.2795, allocations: 219.3 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.2798, allocations: 115.5 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.2802, allocations: 143.5 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.2802, allocations: 8 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.2805, allocations: 79.89 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2806, allocations: 75.77 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.2807, allocations: 69.58 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.281, allocations: 255.6 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2811, allocations: 8 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2811, allocations: 0 / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.2811, allocations: 3.938 kB / 0.7928 GB, free: 6.277 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009423/0.282, allocations: 0.4989 MB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2821, allocations: 12.03 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006354/0.2827, allocations: 91.44 kB / 0.7934 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.2831, allocations: 242.7 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2831, allocations: 20.42 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.2832, allocations: 16 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.2837, allocations: 312.3 kB / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2837, allocations: 0 / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.2837, allocations: 12 kB / 0.7939 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.2838, allocations: 20.41 kB / 0.794 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.2842, allocations: 217.5 kB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.286, allocations: 1.494 MB / 0.7956 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.2865, allocations: 207.6 kB / 0.7958 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2866, allocations: 48.83 kB / 0.7959 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2866, allocations: 0 / 0.7959 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2866, allocations: 34.56 kB / 0.7959 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.2867, allocations: 0 / 0.7959 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.2873, allocations: 271.3 kB / 0.7962 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.2873, allocations: 55.41 kB / 0.7962 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.2876, allocations: 211.6 kB / 0.7964 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2876, allocations: 25.7 kB / 0.7964 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2878, allocations: 175.7 kB / 0.7966 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.2878, allocations: 35.48 kB / 0.7966 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.2878, allocations: 0 / 0.7966 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.288, allocations: 326.8 kB / 0.797 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2882, allocations: 47.97 kB / 0.797 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2883, allocations: 112.5 kB / 0.7971 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2885, allocations: 63.97 kB / 0.7972 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2885, allocations: 4 kB / 0.7972 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004289/0.2889, allocations: 226 kB / 0.7974 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.289, allocations: 4 kB / 0.7974 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.289, allocations: 4 kB / 0.7974 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.2892, allocations: 24.84 kB / 0.7974 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2894, allocations: 35.92 kB / 0.7975 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.2904, allocations: 1.327 MB / 0.7988 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2906, allocations: 27.91 kB / 0.7988 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2906, allocations: 8 kB / 0.7988 GB, free: 15.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.2908, allocations: 153.7 kB / 0.7989 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.2908, allocations: 15.81 kB / 0.7989 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.2909, allocations: 21.39 kB / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2909, allocations: 0 / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2909, allocations: 4 kB / 0.799 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2909, allocations: 0 / 0.799 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2915, allocations: 495.2 kB / 0.7994 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2915, allocations: 0 / 0.7994 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.2916, allocations: 12 kB / 0.7995 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.337e-05/0.2917, allocations: 20.84 kB / 0.7995 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2917, allocations: 4 kB / 0.7995 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009155/0.2926, allocations: 1.319 MB / 0.8008 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2926, allocations: 8.109 kB / 0.8008 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.2929, allocations: 236.1 kB / 0.801 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.293, allocations: 100.9 kB / 0.8011 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.293, allocations: 0 / 0.8011 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2931, allocations: 15.95 kB / 0.8011 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.2932, allocations: 7.984 kB / 0.8011 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2932, allocations: 8 kB / 0.8011 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001192/0.2933, allocations: 144.2 kB / 0.8013 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.132e-06/0.2934, allocations: 0 / 0.8013 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003458/0.2937, allocations: 63.69 kB / 0.8013 GB, free: 12.73 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.2939, allocations: 95.25 kB / 0.8014 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.2943, allocations: 242.5 kB / 0.8016 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2943, allocations: 4 kB / 0.8017 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.2946, allocations: 163.2 kB / 0.8018 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.295, allocations: 36.91 kB / 0.8018 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.2957, allocations: 486.3 kB / 0.8023 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.296, allocations: 0.7593 MB / 0.803 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.2961, allocations: 33.5 kB / 0.8031 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.2962, allocations: 15.44 kB / 0.8031 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2962, allocations: 0 / 0.8031 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.005211/0.3014, allocations: 1.772 MB / 0.8048 GB, free: 9.082 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: