Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001823/0.001823, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.656/1.656, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.822/1.822, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001349/0.001349, allocations: 73.08 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.273, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005323/0.2784, allocations: 2.491 MB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2811, allocations: 1.458 MB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.2814, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.2822, allocations: 159.5 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.2827, allocations: 123.6 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.2833, allocations: 171.6 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.2836, allocations: 215.3 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.284, allocations: 137.3 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2842, allocations: 87.69 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.2845, allocations: 111.6 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2846, allocations: 12 kB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.285, allocations: 179.7 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.2851, allocations: 67.81 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2852, allocations: 79.58 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.2857, allocations: 295 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.2857, allocations: 0 / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2858, allocations: 0 / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.2858, allocations: 0 / 0.7883 GB, free: 8.336 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008094/0.2866, allocations: 479.1 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2866, allocations: 8.031 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.2872, allocations: 60.69 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.2876, allocations: 236 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2876, allocations: 8.656 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.2877, allocations: 16.36 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.2881, allocations: 279.6 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2882, allocations: 0 / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.2882, allocations: 8 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.2882, allocations: 16.22 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.2886, allocations: 204.5 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.2904, allocations: 1.58 MB / 0.7911 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2909, allocations: 323.2 kB / 0.7914 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.291, allocations: 61.69 kB / 0.7914 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.291, allocations: 4.156 kB / 0.7915 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.291, allocations: 38.55 kB / 0.7915 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.906e-06/0.291, allocations: 7.922 kB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005783/0.2916, allocations: 244.6 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.2917, allocations: 85.09 kB / 0.7918 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2919, allocations: 199.9 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2919, allocations: 29.89 kB / 0.792 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2921, allocations: 151.7 kB / 0.7922 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.2921, allocations: 47.38 kB / 0.7922 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.2922, allocations: 49.69 kB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2923, allocations: 318.8 kB / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.2924, allocations: 76.81 kB / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2926, allocations: 158.9 kB / 0.7928 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.2929, allocations: 231 kB / 0.793 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2929, allocations: 0 / 0.793 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004008/0.2933, allocations: 261 kB / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2934, allocations: 8 kB / 0.7933 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2934, allocations: 4.375 kB / 0.7933 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2934, allocations: 11.94 kB / 0.7933 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2936, allocations: 51.91 kB / 0.7933 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2937, allocations: 7.984 kB / 0.7933 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.2938, allocations: 16.11 kB / 0.7934 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2939, allocations: 12 kB / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001667/0.294, allocations: 160.1 kB / 0.7935 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001493/0.2942, allocations: 147.9 kB / 0.7937 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002444/0.2944, allocations: 223.8 kB / 0.7939 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.2945, allocations: 4 kB / 0.7939 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003503/0.2948, allocations: 233.1 kB / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2948, allocations: 8 kB / 0.7941 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2948, allocations: 4.406 kB / 0.7941 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.2949, allocations: 8 kB / 0.7941 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.295, allocations: 51.91 kB / 0.7942 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.295, allocations: 11.88 kB / 0.7942 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2952, allocations: 11.98 kB / 0.7942 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2952, allocations: 12 kB / 0.7942 GB, free: 1.699 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.2953, allocations: 192.1 kB / 0.7944 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.2954, allocations: 15.81 kB / 0.7944 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.2957, allocations: 139 kB / 0.7945 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2957, allocations: 11.92 kB / 0.7946 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2957, allocations: 0 / 0.7946 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2957, allocations: 0 / 0.7946 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.2967, allocations: 0.7234 MB / 0.7953 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.2967, allocations: 4 kB / 0.7953 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.2968, allocations: 19.98 kB / 0.7953 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2968, allocations: 4 kB / 0.7953 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2968, allocations: 11.94 kB / 0.7953 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2968, allocations: 11.92 kB / 0.7953 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2968, allocations: 4 kB / 0.7953 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.2972, allocations: 378.6 kB / 0.7957 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2973, allocations: 100.9 kB / 0.7958 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.2973, allocations: 4 kB / 0.7958 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2975, allocations: 15.98 kB / 0.7958 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.2976, allocations: 11.92 kB / 0.7958 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2976, allocations: 12 kB / 0.7958 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001448/0.2977, allocations: 149.4 kB / 0.796 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.264e-06/0.2977, allocations: 0 / 0.796 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004971/0.2982, allocations: 71.94 kB / 0.796 GB, free: 15.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.2984, allocations: 115.2 kB / 0.7961 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.2989, allocations: 267.8 kB / 0.7964 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2989, allocations: 0 / 0.7964 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.299, allocations: 69.33 kB / 0.7965 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.2995, allocations: 31.73 kB / 0.7965 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.3003, allocations: 482.9 kB / 0.7969 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3007, allocations: 0.7324 MB / 0.7977 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.3009, allocations: 77.47 kB / 0.7977 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.301, allocations: 19.42 kB / 0.7978 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.301, allocations: 0 / 0.7978 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.004846/0.3058, allocations: 1.755 MB / 0.7995 GB, free: 12.07 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)