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.0008531/0.000853, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006974/0.006974, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.67/1.67, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.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.775/1.775, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005622/0.0005622, allocations: 14.88 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3019, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005025/0.307, allocations: 3.478 MB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.3101, allocations: 1.707 MB / 0.7929 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.3104, allocations: 7.938 kB / 0.7929 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3107, allocations: 55.56 kB / 0.793 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007552/0.3115, allocations: 219.1 kB / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.3122, allocations: 195.6 kB / 0.7934 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008646/0.3131, allocations: 0.6583 MB / 0.794 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.3137, allocations: 310.3 kB / 0.7943 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.314, allocations: 155.4 kB / 0.7945 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.3145, allocations: 207.2 kB / 0.7947 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.3145, allocations: 16 kB / 0.7947 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.3151, allocations: 299.4 kB / 0.795 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3152, allocations: 107.7 kB / 0.7951 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.3154, allocations: 184.8 kB / 0.7953 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.3161, allocations: 0.4947 MB / 0.7957 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3161, allocations: 0 / 0.7957 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3161, allocations: 0 / 0.7957 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3162, allocations: 0 / 0.7957 GB, free: 3.461 MB / 0.6075 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.001044/0.3172, allocations: 0.5771 MB / 0.7963 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3173, allocations: 8.031 kB / 0.7963 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.3182, allocations: 140.4 kB / 0.7964 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3187, allocations: 287.6 kB / 0.7967 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.3187, allocations: 21.03 kB / 0.7967 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.3188, allocations: 28.36 kB / 0.7968 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.3195, allocations: 467.9 kB / 0.7972 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3196, allocations: 0 / 0.7972 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3196, allocations: 12 kB / 0.7972 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/0.3197, allocations: 32.55 kB / 0.7973 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.3202, allocations: 321.9 kB / 0.7976 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.3224, allocations: 2.197 MB / 0.7997 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3228, allocations: 251.7 kB / 0.8 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.3231, allocations: 108.8 kB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3232, allocations: 4 kB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3232, allocations: 38.56 kB / 0.8001 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 2.033e-06/0.3232, allocations: 0 / 0.8001 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0006986/0.3239, allocations: 307.1 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.324, allocations: 51.41 kB / 0.8004 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.3243, allocations: 274.6 kB / 0.8007 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3244, allocations: 37.64 kB / 0.8007 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3245, allocations: 199.9 kB / 0.8009 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.3246, allocations: 59.19 kB / 0.801 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3246, allocations: 21.7 kB / 0.801 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3248, allocations: 338.8 kB / 0.8013 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3249, allocations: 56.42 kB / 0.8014 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3251, allocations: 148 kB / 0.8015 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3253, allocations: 217.8 kB / 0.8017 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3254, allocations: 4 kB / 0.8017 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004247/0.3258, allocations: 261.9 kB / 0.802 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3258, allocations: 8.375 kB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3258, allocations: 4 kB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.326, allocations: 28.84 kB / 0.802 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3262, allocations: 51.89 kB / 0.8021 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.3273, allocations: 1.323 MB / 0.8034 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.3275, allocations: 31.67 kB / 0.8034 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3275, allocations: 8 kB / 0.8034 GB, free: 10.95 MB / 0.6231 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.0001666/0.3277, allocations: 161.8 kB / 0.8036 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.3277, allocations: 35.75 kB / 0.8036 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3278, allocations: 25.84 kB / 0.8036 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3278, allocations: 0 / 0.8036 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3278, allocations: 7.984 kB / 0.8036 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3278, allocations: 0 / 0.8036 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.3287, allocations: 0.7063 MB / 0.8043 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3288, allocations: 0 / 0.8043 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.3288, allocations: 23.98 kB / 0.8043 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.3289, allocations: 24.84 kB / 0.8044 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.329, allocations: 4 kB / 0.8044 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.33, allocations: 1.315 MB / 0.8056 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.33, allocations: 160 / 0.8056 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.3304, allocations: 323.3 kB / 0.806 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3305, allocations: 124.7 kB / 0.8061 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3305, allocations: 3.984 kB / 0.8061 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3307, allocations: 16 kB / 0.8061 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3307, allocations: 12.08 kB / 0.8061 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3307, allocations: 7.938 kB / 0.8061 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001886/0.3309, allocations: 194 kB / 0.8063 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3309, allocations: 4 kB / 0.8063 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004074/0.3314, allocations: 87.62 kB / 0.8064 GB, free: 7.605 MB / 0.6231 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.0001307/0.3315, allocations: 103.2 kB / 0.8065 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.3319, allocations: 271.1 kB / 0.8067 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.332, allocations: 0 / 0.8067 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3322, allocations: 178.6 kB / 0.8069 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.3327, allocations: 52.53 kB / 0.807 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3338, allocations: 0.6697 MB / 0.8076 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.3343, allocations: 0.7951 MB / 0.8084 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000155/0.3344, allocations: 46.19 kB / 0.8084 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.3345, allocations: 19.44 kB / 0.8085 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.3345, allocations: 4 kB / 0.8085 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of Templates: time 0.00618/0.3407, allocations: 2.561 MB / 0.811 GB, free: 2.836 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) Environment - environmentSimulation: