Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 105.1 kB / 16.29 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 179.3 kB / 17.22 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.271, allocations: 114.6 MB / 0.7841 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006739/0.2778, allocations: 3.809 MB / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5146/0.7924, allocations: 1.733 MB / 0.7895 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.7927, allocations: 7.781 kB / 0.7895 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.794, allocations: 499 kB / 0.79 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.7945, allocations: 220 kB / 0.7902 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.7951, allocations: 214 kB / 0.7904 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.7956, allocations: 477.4 kB / 0.7908 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.7961, allocations: 355.5 kB / 0.7912 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.7963, allocations: 196.6 kB / 0.7914 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.7967, allocations: 218.8 kB / 0.7916 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.7968, allocations: 29.59 kB / 0.7916 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.7972, allocations: 244.5 kB / 0.7918 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7973, allocations: 128.6 kB / 0.792 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.7975, allocations: 171.2 kB / 0.7921 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.7981, allocations: 0.5029 MB / 0.7926 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.7981, allocations: 0 / 0.7926 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7981, allocations: 0 / 0.7926 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.7981, allocations: 0.6562 kB / 0.7926 GB, free: 45.9 MB / 0.6544 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.001039/0.7992, allocations: 0.6283 MB / 0.7932 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7992, allocations: 7.406 kB / 0.7932 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/0.8001, allocations: 134.2 kB / 0.7934 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.8005, allocations: 289.2 kB / 0.7936 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8005, allocations: 22.47 kB / 0.7937 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.8005, allocations: 25.56 kB / 0.7937 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.8012, allocations: 473 kB / 0.7941 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8012, allocations: 3.234 kB / 0.7941 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.8012, allocations: 14.25 kB / 0.7941 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.8013, allocations: 30.94 kB / 0.7942 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.8017, allocations: 320.6 kB / 0.7945 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.8036, allocations: 2.18 MB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.804, allocations: 250.2 kB / 0.7969 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.8042, allocations: 114.2 kB / 0.797 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.8042, allocations: 3.312 kB / 0.797 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.8042, allocations: 30.56 kB / 0.797 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.8043, allocations: 0 / 0.797 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0005464/0.8048, allocations: 304.2 kB / 0.7973 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.8048, allocations: 60.38 kB / 0.7973 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.8051, allocations: 262.7 kB / 0.7976 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8051, allocations: 31.39 kB / 0.7976 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8052, allocations: 204.9 kB / 0.7978 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.8053, allocations: 54.39 kB / 0.7979 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.8054, allocations: 52.39 kB / 0.7979 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.8054, allocations: 339.4 kB / 0.7982 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/0.8055, allocations: 54.22 kB / 0.7983 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.8057, allocations: 142 kB / 0.7984 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.8059, allocations: 215.8 kB / 0.7986 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8059, allocations: 3.328 kB / 0.7986 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004034/0.8063, allocations: 270.2 kB / 0.7989 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8064, allocations: 9.125 kB / 0.7989 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.8064, allocations: 2.75 kB / 0.7989 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.8066, allocations: 26.84 kB / 0.7989 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.8067, allocations: 48.84 kB / 0.799 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009296/0.8077, allocations: 1.419 MB / 0.8004 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.8078, allocations: 31.34 kB / 0.8004 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.8079, allocations: 17 kB / 0.8004 GB, free: 40.68 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.808, allocations: 169.5 kB / 0.8006 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.8081, allocations: 19.36 kB / 0.8006 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.8081, allocations: 27.95 kB / 0.8006 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8082, allocations: 0 / 0.8006 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8082, allocations: 3.25 kB / 0.8006 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8082, allocations: 5.609 kB / 0.8006 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.809, allocations: 0.7062 MB / 0.8013 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.809, allocations: 4.188 kB / 0.8013 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.8091, allocations: 22.48 kB / 0.8013 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-05/0.8092, allocations: 29.7 kB / 0.8014 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8092, allocations: 4.375 kB / 0.8014 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007499/0.8099, allocations: 1.414 MB / 0.8028 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.81, allocations: 1.719 kB / 0.8028 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.8103, allocations: 318.5 kB / 0.8031 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.8103, allocations: 109.1 kB / 0.8032 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.8104, allocations: 9.109 kB / 0.8032 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8105, allocations: 14.84 kB / 0.8032 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.8106, allocations: 17.12 kB / 0.8032 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.8106, allocations: 5.594 kB / 0.8032 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001864/0.8108, allocations: 191.9 kB / 0.8034 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8108, allocations: 1.438 kB / 0.8034 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004057/0.8112, allocations: 75.66 kB / 0.8035 GB, free: 38.28 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/0.8114, allocations: 114.8 kB / 0.8036 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.8118, allocations: 270.5 kB / 0.8038 GB, free: 38.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8118, allocations: 0 / 0.8038 GB, free: 38.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.812, allocations: 188.2 kB / 0.804 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.8125, allocations: 56.8 kB / 0.8041 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.8133, allocations: 0.5423 MB / 0.8046 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.8136, allocations: 0.7964 MB / 0.8054 GB, free: 36.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.8138, allocations: 39.17 kB / 0.8054 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.8138, allocations: 22.16 kB / 0.8054 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8138, allocations: 0 / 0.8054 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.008333/0.8222, allocations: 2.68 MB / 0.8081 GB, free: 36.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)