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.00121/0.00121, allocations: 114.2 kB / 16.37 MB, free: 6.012 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.001267/0.001267, allocations: 192 kB / 17.31 MB, free: 5.609 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.371/1.371, 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001414/0.001414, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003879/0.2328, allocations: 2.434 MB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.336/0.5688, allocations: 1.457 MB / 0.7886 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.569, allocations: 3.281 kB / 0.7886 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.5698, allocations: 165.9 kB / 0.7888 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.5702, allocations: 138.5 kB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.5707, allocations: 179.6 kB / 0.7891 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.571, allocations: 217.5 kB / 0.7893 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.5713, allocations: 117.1 kB / 0.7894 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.5715, allocations: 90.14 kB / 0.7895 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.5717, allocations: 99.03 kB / 0.7896 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.5717, allocations: 12.44 kB / 0.7896 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.5721, allocations: 183.2 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.5722, allocations: 74.86 kB / 0.7898 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.5723, allocations: 79.8 kB / 0.7899 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.5727, allocations: 279.4 kB / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5727, allocations: 0 / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5727, allocations: 0 / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.5727, allocations: 0 / 0.7902 GB, free: 46.52 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.0006482/0.5733, allocations: 482 kB / 0.7906 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5734, allocations: 9.438 kB / 0.7906 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.574, allocations: 62.42 kB / 0.7907 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.5742, allocations: 232.8 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5742, allocations: 11.8 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.5743, allocations: 12.06 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.5746, allocations: 286.4 kB / 0.7912 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5747, allocations: 0 / 0.7912 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.5747, allocations: 6.438 kB / 0.7912 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.5747, allocations: 18.5 kB / 0.7912 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.575, allocations: 209.4 kB / 0.7914 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5764, allocations: 1.579 MB / 0.793 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.5767, allocations: 324.7 kB / 0.7933 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.5768, allocations: 67.28 kB / 0.7934 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.5768, allocations: 1.844 kB / 0.7934 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.5769, allocations: 36.41 kB / 0.7934 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.5769, allocations: 0 / 0.7934 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005255/0.5774, allocations: 243.7 kB / 0.7936 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5775, allocations: 85.17 kB / 0.7937 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5776, allocations: 199.7 kB / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5776, allocations: 25.7 kB / 0.7939 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.5777, allocations: 157 kB / 0.7941 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.5777, allocations: 33.22 kB / 0.7941 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.5778, allocations: 58.23 kB / 0.7942 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.5779, allocations: 326 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.578, allocations: 72.28 kB / 0.7945 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5781, allocations: 156 kB / 0.7947 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5783, allocations: 229.6 kB / 0.7949 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5783, allocations: 2.688 kB / 0.7949 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003661/0.5787, allocations: 264.7 kB / 0.7952 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5787, allocations: 7.562 kB / 0.7952 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5788, allocations: 3.312 kB / 0.7952 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5788, allocations: 9.219 kB / 0.7952 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.579, allocations: 56.3 kB / 0.7952 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.579, allocations: 9.25 kB / 0.7952 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.5792, allocations: 12.7 kB / 0.7953 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.5792, allocations: 9.266 kB / 0.7953 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001357/0.5794, allocations: 161.3 kB / 0.7954 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001124/0.5795, allocations: 152.1 kB / 0.7956 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000191/0.5797, allocations: 216.2 kB / 0.7958 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.5797, allocations: 3.5 kB / 0.7958 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003278/0.58, allocations: 244 kB / 0.796 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.58, allocations: 10.2 kB / 0.796 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5801, allocations: 3.344 kB / 0.796 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.5801, allocations: 6.75 kB / 0.796 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.5802, allocations: 43.88 kB / 0.7961 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5802, allocations: 8.469 kB / 0.7961 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.5804, allocations: 16.73 kB / 0.7961 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.5804, allocations: 14.31 kB / 0.7961 GB, free: 42.85 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 7.182e-05/0.5805, allocations: 187.3 kB / 0.7963 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.5805, allocations: 22.08 kB / 0.7963 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5808, allocations: 147.2 kB / 0.7964 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5808, allocations: 7.438 kB / 0.7964 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5808, allocations: 1.266 kB / 0.7964 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5808, allocations: 0 / 0.7964 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007783/0.5816, allocations: 0.7175 MB / 0.7972 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5816, allocations: 3.406 kB / 0.7972 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.5817, allocations: 25.69 kB / 0.7972 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.5817, allocations: 3.469 kB / 0.7972 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5817, allocations: 11 kB / 0.7972 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.5817, allocations: 14.08 kB / 0.7972 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5817, allocations: 3.844 kB / 0.7972 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.582, allocations: 379.3 kB / 0.7976 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.5821, allocations: 101.6 kB / 0.7977 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.5821, allocations: 10.16 kB / 0.7977 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.5823, allocations: 8.312 kB / 0.7977 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.5823, allocations: 21.66 kB / 0.7977 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.5823, allocations: 5.656 kB / 0.7977 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.458e-05/0.5824, allocations: 157.2 kB / 0.7979 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5824, allocations: 0 / 0.7979 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004956/0.5829, allocations: 63.5 kB / 0.7979 GB, free: 41.68 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.0001247/0.583, allocations: 107.7 kB / 0.798 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.5834, allocations: 269.5 kB / 0.7983 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5834, allocations: 1.562 kB / 0.7983 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.5835, allocations: 65.09 kB / 0.7983 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.584, allocations: 31.19 kB / 0.7984 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.5847, allocations: 453.5 kB / 0.7988 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5849, allocations: 0.7325 MB / 0.7995 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.585, allocations: 17.88 kB / 0.7995 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.585, allocations: 2.625 kB / 0.7995 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.004644/0.5896, allocations: 2.217 MB / 0.8017 GB, free: 40.48 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)