Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.752/1.752, allocations: 287.4 MB / 303.2 MB, free: 8.246 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.001243/0.001243, allocations: 174.7 kB / 371.8 MB, free: 10.81 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.588/1.588, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0008156/0.0008158, allocations: 90.28 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 19.3 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003298/0.192, allocations: 3.335 MB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1941, allocations: 1.615 MB / 0.9841 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1943, allocations: 8 kB / 0.9841 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1946, allocations: 63.48 kB / 0.9842 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.1951, allocations: 179.1 kB / 0.9843 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1955, allocations: 155.5 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.196, allocations: 0.5334 MB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1963, allocations: 316.8 kB / 0.9853 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1966, allocations: 155.4 kB / 0.9855 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.1969, allocations: 207.2 kB / 0.9857 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.197, allocations: 12 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1972, allocations: 115.9 kB / 0.9858 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.1973, allocations: 107.7 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1974, allocations: 85.52 kB / 0.986 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1977, allocations: 375.3 kB / 0.9863 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1977, allocations: 0 / 0.9863 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1977, allocations: 4 kB / 0.9863 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1978, allocations: 4 kB / 0.9863 GB, free: 20.93 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007559/0.1985, allocations: 0.5692 MB / 0.9869 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1986, allocations: 8.031 kB / 0.9869 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.1994, allocations: 136.4 kB / 0.987 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1997, allocations: 291.6 kB / 0.9873 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1998, allocations: 21.03 kB / 0.9873 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1998, allocations: 32.36 kB / 0.9874 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.2004, allocations: 467.8 kB / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2004, allocations: 0 / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2004, allocations: 12 kB / 0.9878 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/0.2005, allocations: 32.55 kB / 0.9878 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.2009, allocations: 313.9 kB / 0.9881 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2027, allocations: 2.197 MB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.203, allocations: 245 kB / 0.9905 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2032, allocations: 116.8 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.2033, allocations: 4 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2033, allocations: 34.56 kB / 0.9907 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.2033, allocations: 0 / 0.9907 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005299/0.2038, allocations: 301.6 kB / 0.991 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.2039, allocations: 55.41 kB / 0.991 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2041, allocations: 274.5 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2041, allocations: 29.7 kB / 0.9913 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2042, allocations: 199.9 kB / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.2042, allocations: 51.28 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.2043, allocations: 4.094 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.2043, allocations: 342.7 kB / 0.9919 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.2044, allocations: 52.44 kB / 0.9919 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2045, allocations: 152.9 kB / 0.9921 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.2047, allocations: 217.2 kB / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2048, allocations: 0 / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003522/0.2051, allocations: 262.2 kB / 0.9925 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2052, allocations: 9.906 kB / 0.9925 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.2052, allocations: 4 kB / 0.9925 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.2054, allocations: 28.84 kB / 0.9926 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2055, allocations: 47.91 kB / 0.9926 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/0.2063, allocations: 1.319 MB / 0.9939 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.2065, allocations: 27.69 kB / 0.9939 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2065, allocations: 19.92 kB / 0.9939 GB, free: 12.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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.00013/0.2066, allocations: 163.2 kB / 0.9941 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.2067, allocations: 27.66 kB / 0.9941 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.2067, allocations: 33.77 kB / 0.9942 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2067, allocations: 0 / 0.9942 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2067, allocations: 3.984 kB / 0.9942 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.2068, allocations: 116.8 kB / 0.9943 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.2068, allocations: 0 / 0.9943 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.207, allocations: 12 kB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.207, allocations: 7.984 kB / 0.9943 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002893/0.2073, allocations: 245.7 kB / 0.9945 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002737/0.2076, allocations: 382.8 kB / 0.9949 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.456e-05/0.2077, allocations: 48.5 kB / 0.9949 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001331/0.2078, allocations: 194 kB / 0.9951 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of Backend: time 4.41e-07/0.2078, allocations: 0 / 0.9951 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007734/0.2086, allocations: 353.3 kB / 0.9955 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009619/0.2096, allocations: 1.07 MB / 0.9965 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.006296/0.2159, allocations: 3.602 MB / 1 GB, free: 6.152 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)