Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001291/0.001291, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001251/0.001251, allocations: 192.3 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 278.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8961/0.8961, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 99.12 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1745, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003749/0.1783, allocations: 2.417 MB / 0.684 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1803, allocations: 1.418 MB / 0.6854 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.1804, allocations: 7.938 kB / 0.6854 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.1811, allocations: 179.2 kB / 0.6855 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1814, allocations: 127.4 kB / 0.6857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.1818, allocations: 183.5 kB / 0.6858 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.182, allocations: 223.3 kB / 0.686 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.1823, allocations: 113 kB / 0.6861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1824, allocations: 91.67 kB / 0.6862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1826, allocations: 103.6 kB / 0.6863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1827, allocations: 16 kB / 0.6863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.183, allocations: 179.6 kB / 0.6865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.183, allocations: 67.8 kB / 0.6866 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.1831, allocations: 75.61 kB / 0.6867 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.1835, allocations: 279.2 kB / 0.6869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1835, allocations: 0 / 0.6869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1835, allocations: 0 / 0.6869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1835, allocations: 0 / 0.6869 GB, free: 2.004 MB / 494.1 MB 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.0006179/0.1841, allocations: 486.9 kB / 0.6874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1841, allocations: 12.03 kB / 0.6874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.1846, allocations: 64.67 kB / 0.6875 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1849, allocations: 230.8 kB / 0.6877 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.185, allocations: 12.66 kB / 0.6877 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.185, allocations: 12.38 kB / 0.6877 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1854, allocations: 283.6 kB / 0.688 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1854, allocations: 0 / 0.688 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1855, allocations: 8 kB / 0.688 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.1855, allocations: 20.22 kB / 0.688 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.1858, allocations: 205.4 kB / 0.6882 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2732/0.4591, allocations: 1.572 MB / 0.6897 GB, free: 17.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.4594, allocations: 317 kB / 0.69 GB, free: 16.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.4595, allocations: 64.81 kB / 0.6901 GB, free: 16.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.4596, allocations: 1.875 kB / 0.6901 GB, free: 16.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.4596, allocations: 36.92 kB / 0.6901 GB, free: 16.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.023e-06/0.4596, allocations: 1.094 kB / 0.6901 GB, free: 16.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005126/0.4601, allocations: 247.8 kB / 0.6904 GB, free: 16.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.4601, allocations: 78.81 kB / 0.6904 GB, free: 16.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.4603, allocations: 202.3 kB / 0.6906 GB, free: 16.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.4603, allocations: 32.55 kB / 0.6907 GB, free: 16.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.4604, allocations: 153.8 kB / 0.6908 GB, free: 16.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4604, allocations: 35.91 kB / 0.6909 GB, free: 16.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.4605, allocations: 52.47 kB / 0.6909 GB, free: 16.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.4605, allocations: 325.6 kB / 0.6912 GB, free: 16.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4607, allocations: 72.31 kB / 0.6913 GB, free: 16.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4608, allocations: 153.1 kB / 0.6914 GB, free: 16.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.461, allocations: 233.3 kB / 0.6916 GB, free: 15.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4611, allocations: 2.156 kB / 0.6917 GB, free: 15.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003597/0.4614, allocations: 263.3 kB / 0.6919 GB, free: 15.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.4615, allocations: 6.469 kB / 0.6919 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4615, allocations: 9.266 kB / 0.6919 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4615, allocations: 3.719 kB / 0.6919 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.4617, allocations: 51.42 kB / 0.692 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4617, allocations: 6.734 kB / 0.692 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4619, allocations: 25.47 kB / 0.692 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4619, allocations: 9.844 kB / 0.692 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001299/0.462, allocations: 160.5 kB / 0.6922 GB, free: 15.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001095/0.4622, allocations: 144 kB / 0.6923 GB, free: 15.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001859/0.4624, allocations: 217.1 kB / 0.6925 GB, free: 15.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.4624, allocations: 0.7812 kB / 0.6925 GB, free: 15.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003018/0.4627, allocations: 242.5 kB / 0.6927 GB, free: 15.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.4627, allocations: 6.75 kB / 0.6927 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4627, allocations: 4.141 kB / 0.6927 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.4627, allocations: 8.656 kB / 0.6928 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4629, allocations: 54.19 kB / 0.6928 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4629, allocations: 6.797 kB / 0.6928 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.463, allocations: 12.91 kB / 0.6928 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.463, allocations: 11.67 kB / 0.6928 GB, free: 15.41 MB / 494.1 MB 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 5.579e-05/0.4631, allocations: 192.4 kB / 0.693 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.4631, allocations: 16.17 kB / 0.693 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.4634, allocations: 152 kB / 0.6932 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4634, allocations: 1.125 kB / 0.6932 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4634, allocations: 1.062 kB / 0.6932 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4634, allocations: 3.375 kB / 0.6932 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000765/0.4642, allocations: 0.7213 MB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.4642, allocations: 3.172 kB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.4643, allocations: 27.02 kB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4643, allocations: 4.219 kB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4643, allocations: 3.438 kB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.4643, allocations: 8.641 kB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4643, allocations: 3.219 kB / 0.6939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.4645, allocations: 384.8 kB / 0.6943 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.4646, allocations: 103.2 kB / 0.6944 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.4647, allocations: 5.906 kB / 0.6944 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.4648, allocations: 7.297 kB / 0.6944 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.4649, allocations: 22.48 kB / 0.6944 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.4649, allocations: 9.188 kB / 0.6944 GB, free: 14.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.465, allocations: 150.7 kB / 0.6946 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.465, allocations: 0 / 0.6946 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.4655, allocations: 68.5 kB / 0.6947 GB, free: 14.03 MB / 494.1 MB 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.0001005/0.4656, allocations: 105.6 kB / 0.6948 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.4659, allocations: 280.8 kB / 0.695 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.466, allocations: 0.9062 kB / 0.695 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.466, allocations: 62.45 kB / 0.6951 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.4665, allocations: 38.05 kB / 0.6951 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.467, allocations: 409.5 kB / 0.6955 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4672, allocations: 0.7411 MB / 0.6962 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.4674, allocations: 72.75 kB / 0.6963 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.4675, allocations: 16.7 kB / 0.6963 GB, free: 12.81 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4675, allocations: 1.156 kB / 0.6963 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Templates: time 0.004256/0.4717, allocations: 1.755 MB / 0.698 GB, free: 12.69 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)