Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.4 MB / 304.3 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009525/0.0009526, allocations: 171.6 kB / 372.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.6316 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000804/0.000804, allocations: 108.1 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004046, allocations: 11.69 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003328/0.241, allocations: 2.778 MB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2427, allocations: 1.271 MB / 0.9847 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2429, allocations: 4 kB / 0.9847 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.2431, allocations: 47.64 kB / 0.9847 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.2434, allocations: 135.3 kB / 0.9849 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.2438, allocations: 131.7 kB / 0.985 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.2441, allocations: 378.7 kB / 0.9854 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.2444, allocations: 240.9 kB / 0.9856 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.2446, allocations: 115.5 kB / 0.9857 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.2449, allocations: 139.5 kB / 0.9858 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.2449, allocations: 12 kB / 0.9858 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.2452, allocations: 191.5 kB / 0.986 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.2452, allocations: 75.78 kB / 0.9861 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.2453, allocations: 125.2 kB / 0.9862 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.2456, allocations: 271.6 kB / 0.9865 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2456, allocations: 0 / 0.9865 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2456, allocations: 0 / 0.9865 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2456, allocations: 4 kB / 0.9865 GB, free: 21.43 MB / 0.6198 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.000675/0.2463, allocations: 0.5028 MB / 0.987 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2464, allocations: 8.031 kB / 0.987 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.2469, allocations: 92.48 kB / 0.9871 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.2472, allocations: 249.5 kB / 0.9873 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2472, allocations: 12.81 kB / 0.9873 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.2472, allocations: 24.31 kB / 0.9873 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.2477, allocations: 308.6 kB / 0.9876 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2477, allocations: 8 kB / 0.9876 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.2477, allocations: 7.984 kB / 0.9876 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.2478, allocations: 24.42 kB / 0.9877 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.2481, allocations: 209.6 kB / 0.9879 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.2493, allocations: 1.498 MB / 0.9893 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.2497, allocations: 207.7 kB / 0.9895 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.2498, allocations: 44.83 kB / 0.9896 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2498, allocations: 3.984 kB / 0.9896 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.2498, allocations: 42.56 kB / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.2498, allocations: 0 / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004875/0.2503, allocations: 271.3 kB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.455e-05/0.2504, allocations: 51.41 kB / 0.9899 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2505, allocations: 216.3 kB / 0.9901 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2505, allocations: 25.7 kB / 0.9902 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.2506, allocations: 167.7 kB / 0.9903 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2506, allocations: 31.55 kB / 0.9903 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.2507, allocations: 4 kB / 0.9903 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.2507, allocations: 326.8 kB / 0.9907 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.2508, allocations: 47.97 kB / 0.9907 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2509, allocations: 122.2 kB / 0.9908 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.2511, allocations: 164.4 kB / 0.991 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2511, allocations: 4 kB / 0.991 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003018/0.2514, allocations: 218 kB / 0.9912 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2515, allocations: 4.094 kB / 0.9912 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2515, allocations: 12.16 kB / 0.9912 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.2517, allocations: 24.84 kB / 0.9912 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2518, allocations: 39.92 kB / 0.9913 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000714/0.2525, allocations: 1.319 MB / 0.9926 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2526, allocations: 27.7 kB / 0.9926 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2527, allocations: 12 kB / 0.9926 GB, free: 14.58 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2528, allocations: 141.8 kB / 0.9927 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.2528, allocations: 23.84 kB / 0.9928 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.2529, allocations: 21.39 kB / 0.9928 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2529, allocations: 0 / 0.9928 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2529, allocations: 0 / 0.9928 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.2529, allocations: 100.9 kB / 0.9929 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.253, allocations: 4 kB / 0.9929 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2531, allocations: 8 kB / 0.9929 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2531, allocations: 7.984 kB / 0.9929 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002889/0.2534, allocations: 221.7 kB / 0.9931 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002593/0.2537, allocations: 338.4 kB / 0.9934 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.138e-05/0.2538, allocations: 36 kB / 0.9935 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.2539, allocations: 144.2 kB / 0.9936 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of Backend: time 5.01e-07/0.2539, allocations: 0 / 0.9936 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000779/0.2547, allocations: 384.8 kB / 0.994 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007216/0.2554, allocations: 0.9482 MB / 0.9949 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.005112/0.2605, allocations: 2.561 MB / 0.9974 GB, free: 9.566 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)