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.001215/0.001215, allocations: 102.4 kB / 16.29 MB, free: 6.117 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.001265/0.001266, allocations: 190.1 kB / 17.22 MB, free: 5.734 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.593/1.593, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.998/1.998, allocations: 292.3 MB / 0.5495 GB, free: 17.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.00143/0.00143, allocations: 75.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004692/0.3068, allocations: 2.423 MB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5399/0.8468, allocations: 1.462 MB / 0.7879 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.8472, allocations: 4.469 kB / 0.7879 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008081/0.848, allocations: 169.8 kB / 0.788 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.8484, allocations: 131.3 kB / 0.7882 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.849, allocations: 185.3 kB / 0.7884 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.8493, allocations: 221.3 kB / 0.7886 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.8496, allocations: 119.5 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.8497, allocations: 85.12 kB / 0.7888 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.85, allocations: 108.1 kB / 0.7889 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.85, allocations: 10.5 kB / 0.7889 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.8503, allocations: 181.2 kB / 0.789 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.8504, allocations: 62.67 kB / 0.7891 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.8505, allocations: 82.28 kB / 0.7892 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.8509, allocations: 276.8 kB / 0.7894 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8509, allocations: 3.656 kB / 0.7894 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8509, allocations: 0 / 0.7894 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8509, allocations: 3.516 kB / 0.7895 GB, free: 46.03 MB / 0.6544 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.0006946/0.8516, allocations: 472.9 kB / 0.7899 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8517, allocations: 9.719 kB / 0.7899 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.8522, allocations: 65.36 kB / 0.79 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.8524, allocations: 228.1 kB / 0.7902 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.8525, allocations: 10.47 kB / 0.7902 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.8525, allocations: 14.8 kB / 0.7902 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.8529, allocations: 281.2 kB / 0.7905 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.8529, allocations: 6.609 kB / 0.7905 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.853, allocations: 5.562 kB / 0.7905 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.853, allocations: 17.34 kB / 0.7905 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.8533, allocations: 213.3 kB / 0.7907 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.8546, allocations: 1.58 MB / 0.7923 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.855, allocations: 317.1 kB / 0.7926 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.8551, allocations: 63.97 kB / 0.7926 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.8551, allocations: 5.578 kB / 0.7926 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.8551, allocations: 33.94 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8551, allocations: 4.156 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005163/0.8557, allocations: 238.5 kB / 0.7929 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.8557, allocations: 83.67 kB / 0.793 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.8559, allocations: 199.9 kB / 0.7932 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.8559, allocations: 30.08 kB / 0.7932 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.856, allocations: 154 kB / 0.7933 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.856, allocations: 33.55 kB / 0.7934 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.8561, allocations: 58.16 kB / 0.7934 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.8562, allocations: 329.9 kB / 0.7937 GB, free: 43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.8563, allocations: 67.47 kB / 0.7938 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.8564, allocations: 164.1 kB / 0.794 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.8567, allocations: 228.9 kB / 0.7942 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8567, allocations: 4.188 kB / 0.7942 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000355/0.8571, allocations: 262.2 kB / 0.7944 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8571, allocations: 6.969 kB / 0.7944 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8571, allocations: 3.375 kB / 0.7944 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8571, allocations: 3.5 kB / 0.7944 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.8573, allocations: 54.78 kB / 0.7945 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.8574, allocations: 14.3 kB / 0.7945 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.8575, allocations: 18.47 kB / 0.7945 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.8575, allocations: 9.656 kB / 0.7945 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001377/0.8577, allocations: 162.3 kB / 0.7947 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001155/0.8578, allocations: 149.5 kB / 0.7948 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001944/0.858, allocations: 211.4 kB / 0.795 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.858, allocations: 0 / 0.795 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003062/0.8583, allocations: 245.6 kB / 0.7953 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.8583, allocations: 5.25 kB / 0.7953 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.8583, allocations: 2.625 kB / 0.7953 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.8584, allocations: 5.25 kB / 0.7953 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.8585, allocations: 51.77 kB / 0.7953 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8585, allocations: 13.25 kB / 0.7953 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.8586, allocations: 16.61 kB / 0.7954 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8587, allocations: 6.938 kB / 0.7954 GB, free: 42.36 MB / 0.6544 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.0001117/0.8588, allocations: 196.3 kB / 0.7956 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.8588, allocations: 16.67 kB / 0.7956 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.8591, allocations: 143.4 kB / 0.7957 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8591, allocations: 3.938 kB / 0.7957 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8591, allocations: 0 / 0.7957 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8591, allocations: 4 kB / 0.7957 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.8599, allocations: 0.7231 MB / 0.7964 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8599, allocations: 4.719 kB / 0.7964 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.86, allocations: 24.78 kB / 0.7965 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.86, allocations: 3.5 kB / 0.7965 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.86, allocations: 6.031 kB / 0.7965 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.86, allocations: 4.203 kB / 0.7965 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.86, allocations: 7.938 kB / 0.7965 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.8603, allocations: 386.8 kB / 0.7968 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.8604, allocations: 105.8 kB / 0.7969 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.8604, allocations: 3.5 kB / 0.7969 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8606, allocations: 10.53 kB / 0.797 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.8606, allocations: 14.41 kB / 0.797 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.8606, allocations: 9.625 kB / 0.797 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.858e-05/0.8607, allocations: 152.7 kB / 0.7971 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8607, allocations: 0 / 0.7971 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004857/0.8612, allocations: 67.94 kB / 0.7972 GB, free: 41.2 MB / 0.6544 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.0001452/0.8614, allocations: 110.2 kB / 0.7973 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.8618, allocations: 276.9 kB / 0.7976 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8618, allocations: 0 / 0.7976 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.8619, allocations: 55 kB / 0.7976 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.8624, allocations: 33.41 kB / 0.7976 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.863, allocations: 412.2 kB / 0.798 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.8633, allocations: 0.737 MB / 0.7988 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.8635, allocations: 80.38 kB / 0.7988 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.8635, allocations: 19.03 kB / 0.7988 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.8635, allocations: 0 / 0.7988 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.004921/0.8685, allocations: 1.749 MB / 0.8006 GB, free: 40.08 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)