Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 179.8 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007916/0.0007916, allocations: 84.73 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2175, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002566/0.2202, allocations: 2.163 MB / 0.8989 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2222, allocations: 1.489 MB / 0.9003 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2223, allocations: 0 / 0.9003 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.2229, allocations: 163.4 kB / 0.9005 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.2233, allocations: 119.6 kB / 0.9006 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.2238, allocations: 171.6 kB / 0.9008 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.2241, allocations: 311.2 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.2244, allocations: 113 kB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2245, allocations: 71.7 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.2248, allocations: 111.6 kB / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2248, allocations: 8 kB / 0.9013 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.2251, allocations: 215.6 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.2252, allocations: 55.81 kB / 0.9016 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.2253, allocations: 79.58 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.2256, allocations: 275.1 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2257, allocations: 0 / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2257, allocations: 0 / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2257, allocations: 0 / 0.9019 GB, free: 62.88 MB / 0.6042 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.0005657/0.2262, allocations: 447.1 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2263, allocations: 12.03 kB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.2268, allocations: 64.67 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.2271, allocations: 229.5 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2271, allocations: 8.656 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2271, allocations: 8.375 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.2275, allocations: 291.6 kB / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2275, allocations: 0 / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2275, allocations: 4 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2275, allocations: 24.11 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.2278, allocations: 208.4 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2291, allocations: 1.58 MB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.2294, allocations: 323.3 kB / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.2295, allocations: 61.67 kB / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2295, allocations: 4 kB / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2296, allocations: 38.5 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2296, allocations: 0 / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004681/0.23, allocations: 248.5 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.2301, allocations: 77.11 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2302, allocations: 199.4 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2302, allocations: 29.7 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.2303, allocations: 159.8 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2303, allocations: 31.55 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.2303, allocations: 25.72 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.2304, allocations: 322.8 kB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.448e-05/0.2305, allocations: 68.14 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2306, allocations: 155.7 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.2308, allocations: 230.9 kB / 0.9066 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2308, allocations: 0 / 0.9066 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003044/0.2311, allocations: 265.4 kB / 0.9069 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.2312, allocations: 175.4 kB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2312, allocations: 4 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2312, allocations: 4 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2314, allocations: 47.91 kB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2315, allocations: 11.98 kB / 0.9071 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.2316, allocations: 15.98 kB / 0.9071 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2316, allocations: 8 kB / 0.9071 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.2316, allocations: 7.938 kB / 0.9071 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002273/0.2319, allocations: 195.6 kB / 0.9073 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2319, allocations: 4.5 kB / 0.9073 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/0.2319, allocations: 8 kB / 0.9073 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.232, allocations: 47.92 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2321, allocations: 7.984 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.2322, allocations: 19.84 kB / 0.9074 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2322, allocations: 11.94 kB / 0.9074 GB, free: 56.76 MB / 0.6042 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 9.178e-05/0.2323, allocations: 217.7 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.2323, allocations: 15.89 kB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.2325, allocations: 147.4 kB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2325, allocations: 0 / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2325, allocations: 4 kB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.2326, allocations: 108.9 kB / 0.9079 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2326, allocations: 0 / 0.9079 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2328, allocations: 15.97 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.2328, allocations: 11.98 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002104/0.2331, allocations: 300.1 kB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002252/0.2333, allocations: 405.7 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.952e-05/0.2334, allocations: 47.97 kB / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.581e-05/0.2335, allocations: 151.7 kB / 0.9088 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of Backend: time 1.91e-07/0.2335, allocations: 0 / 0.9088 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007767/0.2342, allocations: 395.4 kB / 0.9091 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000624/0.2349, allocations: 0.835 MB / 0.91 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.005472/0.2404, allocations: 3.169 MB / 0.9131 GB, free: 50.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)