Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") 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.086 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.0009882/0.0009887, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.582/1.582, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0007538/0.0007538, allocations: 88.98 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 11.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006128/0.2181, allocations: 3.566 MB / 0.9842 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003127/0.2213, allocations: 1.505 MB / 0.9857 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2215, allocations: 11.94 kB / 0.9857 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.2218, allocations: 67.48 kB / 0.9858 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006621/0.2225, allocations: 207.1 kB / 0.986 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.2231, allocations: 171.6 kB / 0.9861 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.2238, allocations: 0.6231 MB / 0.9867 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.2243, allocations: 440 kB / 0.9871 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.2246, allocations: 183.3 kB / 0.9873 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.225, allocations: 231.2 kB / 0.9875 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.2251, allocations: 24 kB / 0.9876 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.2255, allocations: 183.6 kB / 0.9877 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.2256, allocations: 131.6 kB / 0.9879 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2258, allocations: 185 kB / 0.988 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.2263, allocations: 411.1 kB / 0.9884 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.2264, allocations: 4 kB / 0.9884 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.858e-06/0.2264, allocations: 0 / 0.9884 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.2264, allocations: 3.938 kB / 0.9884 GB, free: 19.38 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001355/0.2278, allocations: 0.6125 MB / 0.989 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2278, allocations: 8.031 kB / 0.989 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.229, allocations: 112.4 kB / 0.9892 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.2295, allocations: 299.6 kB / 0.9894 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/0.2296, allocations: 55.25 kB / 0.9895 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.2297, allocations: 36.36 kB / 0.9895 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2308, allocations: 0.5087 MB / 0.99 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2308, allocations: 0 / 0.99 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.2309, allocations: 12 kB / 0.99 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.2309, allocations: 36.97 kB / 0.9901 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.2319, allocations: 391.6 kB / 0.9904 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.2345, allocations: 2.227 MB / 0.9926 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.2353, allocations: 254.6 kB / 0.9929 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.2357, allocations: 172.7 kB / 0.993 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.2358, allocations: 0 / 0.993 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2358, allocations: 34.56 kB / 0.9931 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.2358, allocations: 4 kB / 0.9931 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001617/0.2375, allocations: 0.5855 MB / 0.9936 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.2375, allocations: 55.41 kB / 0.9937 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2377, allocations: 229 kB / 0.9939 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2377, allocations: 25.7 kB / 0.9939 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2379, allocations: 211.7 kB / 0.9941 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.2379, allocations: 70.94 kB / 0.9942 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.2379, allocations: 7.938 kB / 0.9942 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.238, allocations: 330.8 kB / 0.9945 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2382, allocations: 95.94 kB / 0.9946 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.2385, allocations: 187.6 kB / 0.9948 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.2389, allocations: 274.8 kB / 0.9951 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2389, allocations: 0 / 0.9951 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00074/0.2397, allocations: 390.8 kB / 0.9954 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.2398, allocations: 166.5 kB / 0.9956 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2398, allocations: 7.938 kB / 0.9956 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.2403, allocations: 109.6 kB / 0.9957 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2405, allocations: 51.91 kB / 0.9958 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.2432, allocations: 2.818 MB / 0.9985 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2435, allocations: 43.67 kB / 0.9985 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2435, allocations: 12 kB / 0.9986 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.2435, allocations: 11.88 kB / 0.9986 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006343/0.2441, allocations: 308.4 kB / 0.9989 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2442, allocations: 4 kB / 0.9989 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.2444, allocations: 77.05 kB / 0.9989 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.2446, allocations: 55.91 kB / 0.999 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.246, allocations: 1.495 MB / 1 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.2463, allocations: 31.77 kB / 1 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.2463, allocations: 12 kB / 1 GB, free: 6.051 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.2466, allocations: 257 kB / 1.001 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2466, allocations: 27.72 kB / 1.001 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.2467, allocations: 26.19 kB / 1.001 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.2467, allocations: 3.984 kB / 1.001 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2467, allocations: 11.88 kB / 1.001 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.2468, allocations: 108.8 kB / 1.001 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2468, allocations: 4 kB / 1.001 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.247, allocations: 19.98 kB / 1.001 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.2471, allocations: 15.97 kB / 1.001 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006832/0.2478, allocations: 382.3 kB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005682/0.2484, allocations: 0.4963 MB / 1.002 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001793/0.2486, allocations: 91.98 kB / 1.002 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001075/0.2487, allocations: 168.5 kB / 1.002 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of Backend: time 1.132e-06/0.2487, allocations: 0 / 1.002 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.2507, allocations: 0.8409 MB / 1.003 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00104/0.2518, allocations: 1.172 MB / 1.004 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of Templates: time 0.009023/0.2608, allocations: 5.091 MB / 1.009 GB, free: 13.23 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)