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.001392/0.001392, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001538/0.001538, allocations: 191 kB / 17.29 MB, free: 5.516 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.00229/0.00229, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2547, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004482/0.2592, allocations: 2.442 MB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3974/0.6566, allocations: 1.452 MB / 0.7886 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.6568, allocations: 1.406 kB / 0.7886 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.6576, allocations: 176.3 kB / 0.7887 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.6579, allocations: 129.5 kB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.6584, allocations: 183.2 kB / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.6586, allocations: 214.7 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.6588, allocations: 122.7 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.659, allocations: 90.42 kB / 0.7895 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.6592, allocations: 101 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.6592, allocations: 10.5 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.6595, allocations: 188.5 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.6595, allocations: 64.41 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.6596, allocations: 81.91 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.66, allocations: 289 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.66, allocations: 0 / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.66, allocations: 0 / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.66, allocations: 1.719 kB / 0.7902 GB, free: 47.34 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.0006497/0.6607, allocations: 467.8 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.6607, allocations: 10.66 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.6612, allocations: 65.28 kB / 0.7907 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.6615, allocations: 224.2 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6615, allocations: 15.22 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.6616, allocations: 11.81 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.6619, allocations: 282 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6619, allocations: 3.188 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.662, allocations: 6.75 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.662, allocations: 19.92 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.6623, allocations: 211.2 kB / 0.7914 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.6636, allocations: 1.573 MB / 0.793 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.664, allocations: 317.9 kB / 0.7933 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.6641, allocations: 66.2 kB / 0.7933 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.6641, allocations: 9.625 kB / 0.7933 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.6641, allocations: 31.81 kB / 0.7934 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.6641, allocations: 0 / 0.7934 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000511/0.6647, allocations: 252.1 kB / 0.7936 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.6647, allocations: 77.11 kB / 0.7937 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.6649, allocations: 200.5 kB / 0.7939 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.6649, allocations: 29.02 kB / 0.7939 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.665, allocations: 153.8 kB / 0.794 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.665, allocations: 36.64 kB / 0.7941 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.665, allocations: 50.81 kB / 0.7941 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.6651, allocations: 329.4 kB / 0.7944 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.6652, allocations: 76.59 kB / 0.7945 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.6653, allocations: 155.8 kB / 0.7947 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.6656, allocations: 230.8 kB / 0.7949 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6656, allocations: 0 / 0.7949 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003233/0.6659, allocations: 263.8 kB / 0.7951 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6659, allocations: 6.969 kB / 0.7951 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6659, allocations: 3.25 kB / 0.7951 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.666, allocations: 7.812 kB / 0.7951 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.6662, allocations: 50.66 kB / 0.7952 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6662, allocations: 7.219 kB / 0.7952 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.6664, allocations: 17.38 kB / 0.7952 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.6664, allocations: 14.44 kB / 0.7952 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001176/0.6665, allocations: 159.8 kB / 0.7954 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.546e-05/0.6666, allocations: 155.2 kB / 0.7955 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001759/0.6668, allocations: 212.7 kB / 0.7957 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.6668, allocations: 2.625 kB / 0.7957 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002816/0.6671, allocations: 238.9 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.6671, allocations: 6.938 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.6671, allocations: 3.469 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.6671, allocations: 3.469 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6673, allocations: 49.27 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6673, allocations: 13.28 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.6674, allocations: 22.7 kB / 0.7961 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.6674, allocations: 10.12 kB / 0.7961 GB, free: 43.67 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 6.934e-05/0.6675, allocations: 188.7 kB / 0.7962 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.6676, allocations: 24.06 kB / 0.7963 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.6678, allocations: 146.8 kB / 0.7964 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6678, allocations: 3.938 kB / 0.7964 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6678, allocations: 2.812 kB / 0.7964 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6678, allocations: 4.562 kB / 0.7964 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.6686, allocations: 0.715 MB / 0.7971 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6686, allocations: 4.031 kB / 0.7971 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.6687, allocations: 30.47 kB / 0.7972 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6687, allocations: 3.625 kB / 0.7972 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.6688, allocations: 7.078 kB / 0.7972 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6688, allocations: 7.031 kB / 0.7972 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6688, allocations: 2.375 kB / 0.7972 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.669, allocations: 376.2 kB / 0.7975 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.6691, allocations: 113.1 kB / 0.7976 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.6691, allocations: 3.312 kB / 0.7976 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.6693, allocations: 11.62 kB / 0.7977 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.6693, allocations: 17.28 kB / 0.7977 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.6693, allocations: 14.38 kB / 0.7977 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.046e-05/0.6694, allocations: 147.4 kB / 0.7978 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6694, allocations: 0 / 0.7978 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004846/0.6699, allocations: 69.5 kB / 0.7979 GB, free: 42.5 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.0001085/0.67, allocations: 111.2 kB / 0.798 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.6704, allocations: 265.7 kB / 0.7982 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6704, allocations: 6.688 kB / 0.7983 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.6705, allocations: 56.3 kB / 0.7983 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.671, allocations: 33.81 kB / 0.7983 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.6715, allocations: 417.2 kB / 0.7987 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.6717, allocations: 0.7412 MB / 0.7995 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.6719, allocations: 72.97 kB / 0.7995 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.6719, allocations: 15 kB / 0.7995 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.6719, allocations: 3.438 kB / 0.7996 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.004228/0.6762, allocations: 1.756 MB / 0.8013 GB, free: 41.37 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)