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.0009625/0.0009625, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001137/0.001137, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 286.6 kB / 291.4 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004636, allocations: 10.56 kB / 0.598 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003112/0.2168, allocations: 2.052 MB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.2189, allocations: 1.313 MB / 0.6878 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.219, allocations: 8.469 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.2192, allocations: 19.84 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.2196, allocations: 105.8 kB / 0.6879 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.22, allocations: 136.2 kB / 0.688 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2203, allocations: 256.3 kB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.2208, allocations: 228.9 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2209, allocations: 67.77 kB / 0.6886 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.2211, allocations: 95.64 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.2212, allocations: 8 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.2214, allocations: 103.9 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.2215, allocations: 59.84 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.2215, allocations: 53.58 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.2218, allocations: 204.6 kB / 0.6891 GB, free: 10.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2218, allocations: 3.938 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2218, allocations: 0 / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2218, allocations: 0.6562 kB / 0.6891 GB, free: 10.73 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.0006852/0.2225, allocations: 448.7 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2226, allocations: 8.031 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.2231, allocations: 63.73 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.2233, allocations: 227.6 kB / 0.6898 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2233, allocations: 8.281 kB / 0.6898 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.2234, allocations: 16 kB / 0.6898 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.2238, allocations: 279.5 kB / 0.6901 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2238, allocations: 7.938 kB / 0.6901 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2239, allocations: 8 kB / 0.6901 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.2239, allocations: 20.22 kB / 0.6901 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.2242, allocations: 204.5 kB / 0.6903 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.2258, allocations: 1.587 MB / 0.6919 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.2262, allocations: 311.3 kB / 0.6922 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.2263, allocations: 61.69 kB / 0.6922 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.2263, allocations: 4 kB / 0.6922 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2264, allocations: 50.44 kB / 0.6923 GB, free: 7.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.2264, allocations: 0 / 0.6923 GB, free: 7.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005614/0.2269, allocations: 236.8 kB / 0.6925 GB, free: 6.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.227, allocations: 77.11 kB / 0.6926 GB, free: 6.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.2272, allocations: 196.8 kB / 0.6927 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2272, allocations: 33.83 kB / 0.6928 GB, free: 6.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.2273, allocations: 159.6 kB / 0.6929 GB, free: 6.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2274, allocations: 31.55 kB / 0.693 GB, free: 6.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.2274, allocations: 8 kB / 0.693 GB, free: 6.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2275, allocations: 322.8 kB / 0.6933 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.2276, allocations: 63.95 kB / 0.6933 GB, free: 5.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2278, allocations: 161.8 kB / 0.6935 GB, free: 5.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2279, allocations: 87.97 kB / 0.6936 GB, free: 5.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2279, allocations: 0 / 0.6936 GB, free: 5.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003732/0.2283, allocations: 261.4 kB / 0.6938 GB, free: 5.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.822e-05/0.2284, allocations: 175.3 kB / 0.694 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2284, allocations: 4 kB / 0.694 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2285, allocations: 4 kB / 0.694 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2287, allocations: 55.89 kB / 0.6941 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2287, allocations: 4 kB / 0.6941 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2288, allocations: 19.98 kB / 0.6941 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2289, allocations: 8.125 kB / 0.6941 GB, free: 5.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-06/0.2289, allocations: 7.938 kB / 0.6941 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002743/0.2292, allocations: 199.6 kB / 0.6943 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2292, allocations: 4 kB / 0.6943 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.2292, allocations: 4.375 kB / 0.6943 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2293, allocations: 51.91 kB / 0.6943 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2294, allocations: 4 kB / 0.6943 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.2295, allocations: 15.89 kB / 0.6944 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2295, allocations: 11.98 kB / 0.6944 GB, free: 4.836 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.2296, allocations: 221 kB / 0.6946 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.2297, allocations: 15.81 kB / 0.6946 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.2299, allocations: 147 kB / 0.6947 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.23, allocations: 0 / 0.6947 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.23, allocations: 4 kB / 0.6947 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.23, allocations: 7.938 kB / 0.6947 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/0.2309, allocations: 0.7157 MB / 0.6954 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2309, allocations: 4 kB / 0.6955 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.231, allocations: 23.92 kB / 0.6955 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.231, allocations: 8.031 kB / 0.6955 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.231, allocations: 4 kB / 0.6955 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.231, allocations: 4 kB / 0.6955 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.231, allocations: 11.92 kB / 0.6955 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.2313, allocations: 378.5 kB / 0.6959 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.2314, allocations: 105 kB / 0.696 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.2315, allocations: 4 kB / 0.696 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2316, allocations: 11.98 kB / 0.696 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.2317, allocations: 15.92 kB / 0.696 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.2317, allocations: 4 kB / 0.696 GB, free: 3.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.2318, allocations: 152.3 kB / 0.6961 GB, free: 2.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2318, allocations: 0 / 0.6961 GB, free: 2.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.2323, allocations: 71.95 kB / 0.6962 GB, free: 2.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.2325, allocations: 115.1 kB / 0.6963 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.2329, allocations: 260.8 kB / 0.6966 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2329, allocations: 0 / 0.6966 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.233, allocations: 59.84 kB / 0.6966 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.2335, allocations: 38.27 kB / 0.6967 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.2342, allocations: 0.5091 MB / 0.6972 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.2345, allocations: 0.7363 MB / 0.6979 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.2347, allocations: 74.02 kB / 0.698 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.2347, allocations: 15.44 kB / 0.698 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2348, allocations: 0 / 0.698 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of Templates: time 0.004443/0.2392, allocations: 1.646 MB / 0.6996 GB, free: 15.28 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)