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.361/1.361, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009547/0.0009547, allocations: 172.3 kB / 326.5 MB, free: 2.703 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.675/1.675, allocations: 205 MB / 0.5766 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.0008364/0.000837, allocations: 87.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 10.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2213, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003319/0.2246, allocations: 2.919 MB / 0.8996 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.2265, allocations: 1.372 MB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.2267, allocations: 11.88 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.2275, allocations: 315 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.2278, allocations: 143.3 kB / 0.9014 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2281, allocations: 131.7 kB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.2284, allocations: 458.7 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.2287, allocations: 171.7 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.2289, allocations: 111.5 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.2291, allocations: 143.4 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2291, allocations: 12 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.2294, allocations: 207.5 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.2295, allocations: 75.8 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.2296, allocations: 111.4 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.2298, allocations: 263.3 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2298, allocations: 4 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2299, allocations: 4 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2299, allocations: 3.938 kB / 0.903 GB, free: 61.73 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.0008316/0.2307, allocations: 0.4913 MB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2308, allocations: 12.03 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.2313, allocations: 84.58 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.2316, allocations: 247.8 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2317, allocations: 16.81 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.2317, allocations: 28.36 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.2321, allocations: 316.7 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2322, allocations: 3.938 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.2322, allocations: 8 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.2322, allocations: 20.42 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.2326, allocations: 213.6 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2339, allocations: 1.501 MB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.2343, allocations: 199.7 kB / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.2344, allocations: 56.77 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.2344, allocations: 3.938 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2344, allocations: 38.56 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.2344, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004946/0.2349, allocations: 271.4 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.2349, allocations: 55.34 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2351, allocations: 204.5 kB / 0.9066 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2351, allocations: 25.7 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.2352, allocations: 179.6 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2352, allocations: 31.58 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.2352, allocations: 21.7 kB / 0.9069 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.2353, allocations: 330.8 kB / 0.9072 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.2354, allocations: 47.97 kB / 0.9072 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2355, allocations: 109.4 kB / 0.9074 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2357, allocations: 176.4 kB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2357, allocations: 4 kB / 0.9075 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003014/0.236, allocations: 214.2 kB / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.236, allocations: 4 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2361, allocations: 4 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.2362, allocations: 32.83 kB / 0.9078 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2364, allocations: 31.92 kB / 0.9078 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007233/0.2371, allocations: 1.331 MB / 0.9091 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2372, allocations: 15.88 kB / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2372, allocations: 12 kB / 0.9091 GB, free: 54.86 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.0001101/0.2374, allocations: 149.9 kB / 0.9093 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.2374, allocations: 19.75 kB / 0.9093 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2374, allocations: 17.5 kB / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2374, allocations: 7.938 kB / 0.9093 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2374, allocations: 0 / 0.9093 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2375, allocations: 0 / 0.9093 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.238, allocations: 0.4912 MB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.238, allocations: 0 / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.238, allocations: 16 kB / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.821e-05/0.2381, allocations: 20.91 kB / 0.9098 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2381, allocations: 11.98 kB / 0.9098 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006106/0.2388, allocations: 1.319 MB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2388, allocations: 0 / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.239, allocations: 240.3 kB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.2391, allocations: 100.8 kB / 0.9115 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2391, allocations: 4 kB / 0.9115 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2392, allocations: 8 kB / 0.9115 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2393, allocations: 3.984 kB / 0.9115 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.2393, allocations: 8 kB / 0.9115 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.892e-05/0.2394, allocations: 145.5 kB / 0.9116 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.51e-07/0.2394, allocations: 0 / 0.9116 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002975/0.2397, allocations: 59.78 kB / 0.9117 GB, free: 52.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 9.628e-05/0.2398, allocations: 99.25 kB / 0.9118 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.2402, allocations: 238.7 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2402, allocations: 0 / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2403, allocations: 166.6 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2407, allocations: 44.28 kB / 0.9122 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.2413, allocations: 0.4937 MB / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2415, allocations: 0.7632 MB / 0.9134 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.2415, allocations: 15.44 kB / 0.9134 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2415, allocations: 0 / 0.9134 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.004022/0.2455, allocations: 3.191 MB / 0.9166 GB, free: 46.93 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)