Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, 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.001044/0.001044, allocations: 180.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.665/1.665, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0009191/0.0009186, allocations: 106.7 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 16.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003776/0.2098, allocations: 3.331 MB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.212, allocations: 1.63 MB / 0.9856 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2121, allocations: 4 kB / 0.9856 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2124, allocations: 63.48 kB / 0.9856 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.2128, allocations: 199.1 kB / 0.9858 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2132, allocations: 175.6 kB / 0.986 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.2137, allocations: 0.5451 MB / 0.9865 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.2141, allocations: 314.3 kB / 0.9868 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.2142, allocations: 151.4 kB / 0.987 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.2146, allocations: 199.3 kB / 0.9872 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2146, allocations: 23.98 kB / 0.9872 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.215, allocations: 291.3 kB / 0.9875 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.2151, allocations: 99.75 kB / 0.9876 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2152, allocations: 181 kB / 0.9877 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.2156, allocations: 379.3 kB / 0.9881 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2156, allocations: 0 / 0.9881 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2156, allocations: 0 / 0.9881 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2156, allocations: 0 / 0.9881 GB, free: 19.76 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.0007756/0.2164, allocations: 0.577 MB / 0.9887 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2164, allocations: 8.031 kB / 0.9887 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/0.2172, allocations: 144.4 kB / 0.9888 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.2175, allocations: 291.6 kB / 0.9891 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2176, allocations: 21.03 kB / 0.9891 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.2176, allocations: 28.38 kB / 0.9891 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.2182, allocations: 463.9 kB / 0.9896 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2182, allocations: 0 / 0.9896 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.2183, allocations: 12 kB / 0.9896 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.2183, allocations: 32.53 kB / 0.9896 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.2187, allocations: 314 kB / 0.9899 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.2203, allocations: 2.197 MB / 0.9921 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.2207, allocations: 247.8 kB / 0.9923 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.2209, allocations: 112.7 kB / 0.9924 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2209, allocations: 3.984 kB / 0.9924 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2209, allocations: 42.56 kB / 0.9924 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.2209, allocations: 96 / 0.9924 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005109/0.2215, allocations: 302 kB / 0.9927 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.2215, allocations: 55.41 kB / 0.9928 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.2217, allocations: 270.4 kB / 0.993 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2217, allocations: 33.7 kB / 0.9931 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.2218, allocations: 203.9 kB / 0.9933 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2219, allocations: 55.28 kB / 0.9933 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.2219, allocations: 4 kB / 0.9933 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.2219, allocations: 334.8 kB / 0.9936 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.222, allocations: 60.38 kB / 0.9937 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2221, allocations: 141.9 kB / 0.9938 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2223, allocations: 210.9 kB / 0.994 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2224, allocations: 4 kB / 0.994 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003268/0.2227, allocations: 272.8 kB / 0.9943 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2227, allocations: 4 kB / 0.9943 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2227, allocations: 4.062 kB / 0.9943 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.2229, allocations: 33.22 kB / 0.9943 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2231, allocations: 47.92 kB / 0.9944 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007627/0.2238, allocations: 1.323 MB / 0.9957 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.224, allocations: 27.69 kB / 0.9957 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.224, allocations: 12 kB / 0.9957 GB, free: 11.28 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.0001182/0.2242, allocations: 161.8 kB / 0.9959 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.2242, allocations: 23.72 kB / 0.9959 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.2242, allocations: 33.77 kB / 0.9959 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2242, allocations: 0 / 0.9959 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2243, allocations: 4.094 kB / 0.9959 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.2243, allocations: 116.7 kB / 0.996 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2244, allocations: 4 kB / 0.996 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2245, allocations: 8 kB / 0.9961 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.2245, allocations: 11.98 kB / 0.9961 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002942/0.2248, allocations: 241.8 kB / 0.9963 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002502/0.2251, allocations: 379.8 kB / 0.9967 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.927e-05/0.2252, allocations: 47.98 kB / 0.9967 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001323/0.2253, allocations: 186 kB / 0.9969 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of Backend: time 6.02e-07/0.2253, allocations: 0 / 0.9969 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009063/0.2262, allocations: 451.6 kB / 0.9973 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009793/0.2272, allocations: 1.083 MB / 0.9984 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of Templates: time 0.006072/0.2333, allocations: 3.656 MB / 1.002 GB, free: 4.82 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)