Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001265/0.001265, allocations: 182.8 kB / 326.5 MB, free: 2.695 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.715/1.715, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0007816/0.0007817, allocations: 96.34 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 8.938 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003497/0.2139, allocations: 2.923 MB / 0.8996 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.216, allocations: 1.383 MB / 0.901 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.2162, allocations: 7.938 kB / 0.901 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009189/0.2172, allocations: 311 kB / 0.9013 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.2176, allocations: 139.3 kB / 0.9014 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.218, allocations: 139.7 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000423/0.2185, allocations: 458.7 kB / 0.902 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.2188, allocations: 167.7 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.219, allocations: 119.5 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.2193, allocations: 139.5 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.2194, allocations: 12 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.2197, allocations: 211.5 kB / 0.9026 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.2198, allocations: 67.8 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2199, allocations: 111.4 kB / 0.9028 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.2204, allocations: 354.8 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2204, allocations: 0 / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2204, allocations: 0 / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.2204, allocations: 0 / 0.9031 GB, free: 61.66 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008022/0.2212, allocations: 0.4952 MB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2213, allocations: 8.031 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.2219, allocations: 84.58 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.2222, allocations: 251.8 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2222, allocations: 16.81 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.2223, allocations: 24.31 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.2227, allocations: 316.6 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2227, allocations: 3.938 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2228, allocations: 12 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.2228, allocations: 16.44 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.2231, allocations: 213.5 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.2245, allocations: 1.501 MB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.2249, allocations: 219.5 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.225, allocations: 40.84 kB / 0.9062 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.225, allocations: 4 kB / 0.9062 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.225, allocations: 34.56 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.225, allocations: 0 / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005151/0.2255, allocations: 271.3 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.2256, allocations: 51.41 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2257, allocations: 204.5 kB / 0.9067 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2258, allocations: 29.7 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.2258, allocations: 179.6 kB / 0.9069 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.2258, allocations: 27.64 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.2259, allocations: 21.72 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.2259, allocations: 326.8 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.226, allocations: 43.97 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2261, allocations: 120.5 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.2263, allocations: 172.4 kB / 0.9076 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2264, allocations: 0 / 0.9076 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00032/0.2267, allocations: 218 kB / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2267, allocations: 8 kB / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2267, allocations: 0 / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.2269, allocations: 33.12 kB / 0.9079 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.227, allocations: 27.98 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/0.2278, allocations: 1.33 MB / 0.9092 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.2279, allocations: 23.83 kB / 0.9092 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.228, allocations: 4 kB / 0.9092 GB, free: 54.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2281, allocations: 146.5 kB / 0.9094 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.2281, allocations: 27.62 kB / 0.9094 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.2281, allocations: 21.48 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2282, allocations: 8 kB / 0.9094 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2282, allocations: 4.062 kB / 0.9094 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.2282, allocations: 100.8 kB / 0.9095 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2283, allocations: 4 kB / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2284, allocations: 8 kB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.2284, allocations: 7.984 kB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002781/0.2287, allocations: 217.7 kB / 0.9097 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002735/0.229, allocations: 334.5 kB / 0.9101 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.242e-05/0.2291, allocations: 44.61 kB / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.2292, allocations: 149.5 kB / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of Backend: time 5.41e-07/0.2292, allocations: 0 / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007897/0.23, allocations: 386.4 kB / 0.9106 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007921/0.2308, allocations: 0.9424 MB / 0.9115 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.005451/0.2363, allocations: 2.571 MB / 0.914 GB, free: 49.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)