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.001551/0.001551, allocations: 101.1 kB / 15.98 MB, free: 6.359 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.00201/0.00201, allocations: 197 kB / 16.91 MB, free: 6.191 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.533/1.533, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.678/1.678, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001428/0.001428, allocations: 69.78 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2422, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004196/0.2464, allocations: 2.499 MB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2487, allocations: 1.446 MB / 0.7874 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2488, allocations: 4 kB / 0.7874 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.2495, allocations: 155.5 kB / 0.7875 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.2498, allocations: 131.5 kB / 0.7876 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.2503, allocations: 163.7 kB / 0.7878 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.2506, allocations: 227.2 kB / 0.788 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.251, allocations: 137.3 kB / 0.7882 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2511, allocations: 83.67 kB / 0.7882 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.2514, allocations: 111.6 kB / 0.7883 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.2514, allocations: 12 kB / 0.7884 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.2517, allocations: 179.6 kB / 0.7885 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.2518, allocations: 59.86 kB / 0.7886 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.2519, allocations: 83.61 kB / 0.7887 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.2522, allocations: 223.4 kB / 0.7889 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2522, allocations: 0 / 0.7889 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2522, allocations: 0 / 0.7889 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2523, allocations: 0 / 0.7889 GB, free: 8.367 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.0008079/0.2531, allocations: 471.1 kB / 0.7893 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2531, allocations: 15.97 kB / 0.7893 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.2537, allocations: 64.69 kB / 0.7894 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.2539, allocations: 231.9 kB / 0.7896 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.254, allocations: 16.66 kB / 0.7896 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.254, allocations: 12.38 kB / 0.7896 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.2544, allocations: 275.6 kB / 0.7899 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2545, allocations: 4 kB / 0.7899 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.2545, allocations: 11.98 kB / 0.7899 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.2546, allocations: 16.22 kB / 0.7899 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.2549, allocations: 212.4 kB / 0.7901 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2567, allocations: 1.568 MB / 0.7917 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.2571, allocations: 327.2 kB / 0.792 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2572, allocations: 61.69 kB / 0.792 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2572, allocations: 7.984 kB / 0.7921 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2573, allocations: 30.56 kB / 0.7921 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.2573, allocations: 0 / 0.7921 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000579/0.2579, allocations: 240.6 kB / 0.7923 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.2579, allocations: 88.97 kB / 0.7924 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2582, allocations: 203.9 kB / 0.7926 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2582, allocations: 25.7 kB / 0.7926 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2583, allocations: 156 kB / 0.7928 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.2583, allocations: 47.39 kB / 0.7928 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.2584, allocations: 45.69 kB / 0.7929 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2586, allocations: 326.8 kB / 0.7932 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2587, allocations: 72.81 kB / 0.7932 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2588, allocations: 155 kB / 0.7934 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2591, allocations: 238.9 kB / 0.7936 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2591, allocations: 0 / 0.7936 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003747/0.2595, allocations: 253.2 kB / 0.7939 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2595, allocations: 8 kB / 0.7939 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2596, allocations: 0 / 0.7939 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2596, allocations: 12.25 kB / 0.7939 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2598, allocations: 55.97 kB / 0.7939 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2598, allocations: 11.92 kB / 0.7939 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.26, allocations: 8 kB / 0.7939 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.26, allocations: 15.98 kB / 0.794 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001567/0.2602, allocations: 160.1 kB / 0.7941 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001455/0.2603, allocations: 148.5 kB / 0.7943 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002433/0.2606, allocations: 215.7 kB / 0.7945 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.2606, allocations: 4 kB / 0.7945 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003251/0.2609, allocations: 237.1 kB / 0.7947 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2609, allocations: 8 kB / 0.7947 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.261, allocations: 3.984 kB / 0.7947 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.261, allocations: 8.406 kB / 0.7947 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2611, allocations: 55.91 kB / 0.7948 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2612, allocations: 7.938 kB / 0.7948 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2613, allocations: 7.984 kB / 0.7948 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2613, allocations: 16 kB / 0.7948 GB, free: 1.738 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.0001248/0.2614, allocations: 192.1 kB / 0.795 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.2615, allocations: 11.81 kB / 0.795 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.2618, allocations: 143 kB / 0.7951 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2618, allocations: 11.92 kB / 0.7951 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2618, allocations: 8.125 kB / 0.7951 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2618, allocations: 3.938 kB / 0.7951 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.2628, allocations: 0.7196 MB / 0.7958 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2628, allocations: 4 kB / 0.7959 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2629, allocations: 23.92 kB / 0.7959 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2629, allocations: 4 kB / 0.7959 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2629, allocations: 8 kB / 0.7959 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.263, allocations: 11.92 kB / 0.7959 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.263, allocations: 4 kB / 0.7959 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.2633, allocations: 374.8 kB / 0.7963 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.2634, allocations: 104.9 kB / 0.7964 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2635, allocations: 4 kB / 0.7964 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2636, allocations: 15.92 kB / 0.7964 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2637, allocations: 15.92 kB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2637, allocations: 8 kB / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001167/0.2638, allocations: 153.4 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2638, allocations: 0 / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004876/0.2643, allocations: 68 kB / 0.7966 GB, free: 15.71 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.0001649/0.2645, allocations: 119 kB / 0.7967 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.2649, allocations: 264.2 kB / 0.797 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2649, allocations: 0 / 0.797 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.265, allocations: 63.83 kB / 0.797 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.2655, allocations: 32.73 kB / 0.7971 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.2662, allocations: 0.5079 MB / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2666, allocations: 0.7402 MB / 0.7983 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.2666, allocations: 19.44 kB / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2667, allocations: 0 / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.00398/0.2706, allocations: 2.228 MB / 0.8005 GB, free: 11.65 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)