Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.784/1.784, allocations: 287.4 MB / 303.2 MB, free: 8.195 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.001083/0.001084, allocations: 184.8 kB / 371.8 MB, free: 10.83 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.559/1.559, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008319/0.0008319, allocations: 94.94 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 10.88 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00343/0.204, allocations: 3.569 MB / 0.9828 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2062, allocations: 1.498 MB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.2063, allocations: 7.938 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.2066, allocations: 63.48 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.2071, allocations: 187.1 kB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.2075, allocations: 163.7 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.208, allocations: 0.6231 MB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.2084, allocations: 438.4 kB / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2086, allocations: 183.4 kB / 0.9858 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.2089, allocations: 223.2 kB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.209, allocations: 20 kB / 0.9861 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.2092, allocations: 87.81 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2093, allocations: 131.6 kB / 0.9863 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.2094, allocations: 89.58 kB / 0.9864 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.2098, allocations: 399.1 kB / 0.9867 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2098, allocations: 4 kB / 0.9867 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2098, allocations: 3.938 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.2098, allocations: 0 / 0.9867 GB, free: 20.5 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.0009586/0.2108, allocations: 0.6163 MB / 0.9873 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2108, allocations: 8.031 kB / 0.9874 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006312/0.2115, allocations: 112.4 kB / 0.9875 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2118, allocations: 295.6 kB / 0.9877 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.2119, allocations: 63.25 kB / 0.9878 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.2119, allocations: 28.38 kB / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.2126, allocations: 0.5048 MB / 0.9883 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2126, allocations: 0 / 0.9883 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.2127, allocations: 20 kB / 0.9883 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.2127, allocations: 28.98 kB / 0.9884 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.2133, allocations: 391.6 kB / 0.9887 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2152, allocations: 2.235 MB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.2158, allocations: 262.7 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.2162, allocations: 156.8 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2162, allocations: 4 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2162, allocations: 34.56 kB / 0.9914 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.2163, allocations: 7.984 kB / 0.9914 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001325/0.2176, allocations: 0.591 MB / 0.9919 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.2176, allocations: 59.28 kB / 0.992 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2178, allocations: 221 kB / 0.9922 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2178, allocations: 29.7 kB / 0.9922 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.2179, allocations: 211.7 kB / 0.9924 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.218, allocations: 70.94 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.218, allocations: 8 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.218, allocations: 334.8 kB / 0.9928 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2182, allocations: 87.94 kB / 0.9929 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.2184, allocations: 189.1 kB / 0.9931 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.2188, allocations: 281.2 kB / 0.9934 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2188, allocations: 0 / 0.9934 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007181/0.2196, allocations: 386.7 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.2196, allocations: 161.9 kB / 0.9939 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2197, allocations: 7.938 kB / 0.9939 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.2201, allocations: 105.6 kB / 0.994 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2203, allocations: 55.92 kB / 0.9941 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.2226, allocations: 2.825 MB / 0.9968 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.2228, allocations: 39.69 kB / 0.9969 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.2229, allocations: 11.98 kB / 0.9969 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2229, allocations: 7.938 kB / 0.9969 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006274/0.2235, allocations: 315.4 kB / 0.9972 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2235, allocations: 0 / 0.9972 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.2238, allocations: 84.84 kB / 0.9973 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.224, allocations: 59.91 kB / 0.9973 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2254, allocations: 1.495 MB / 0.9988 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.2256, allocations: 35.77 kB / 0.9988 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2257, allocations: 8 kB / 0.9988 GB, free: 7.156 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.0001632/0.2258, allocations: 250.3 kB / 0.9991 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2259, allocations: 27.66 kB / 0.9991 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.2259, allocations: 30.17 kB / 0.9991 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2259, allocations: 0 / 0.9991 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2259, allocations: 7.938 kB / 0.9991 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.226, allocations: 116.9 kB / 0.9992 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.2261, allocations: 0 / 0.9992 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.2262, allocations: 15.98 kB / 0.9992 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.2263, allocations: 19.97 kB / 0.9993 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006691/0.227, allocations: 378.3 kB / 0.9996 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005599/0.2276, allocations: 0.5045 MB / 1 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001687/0.2277, allocations: 87.98 kB / 1 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.987e-05/0.2278, allocations: 164.5 kB / 1 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of Backend: time 5.31e-07/0.2279, allocations: 0 / 1 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.2296, allocations: 0.7948 MB / 1.001 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009094/0.2306, allocations: 1.164 MB / 1.002 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of Templates: time 0.007861/0.2384, allocations: 5.033 MB / 1.007 GB, free: 14.45 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)