Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 179.6 kB / 326.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009716/0.0009709, allocations: 92.92 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004993, allocations: 15.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2034, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00503/0.2084, allocations: 3.35 MB / 0.9028 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.2117, allocations: 1.614 MB / 0.9043 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.212, allocations: 7.938 kB / 0.9043 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.2123, allocations: 55.56 kB / 0.9044 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.2129, allocations: 187.1 kB / 0.9046 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.2136, allocations: 139.7 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.2143, allocations: 0.5412 MB / 0.9052 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.2147, allocations: 297.2 kB / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.215, allocations: 159.4 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.2154, allocations: 199.3 kB / 0.9059 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.2155, allocations: 12 kB / 0.9059 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.2159, allocations: 123.8 kB / 0.906 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.216, allocations: 107.7 kB / 0.9061 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.58e-05/0.2161, allocations: 81.58 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.2166, allocations: 375.3 kB / 0.9065 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2166, allocations: 0 / 0.9065 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2166, allocations: 4 kB / 0.9065 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.2167, allocations: 4 kB / 0.9065 GB, free: 58.3 MB / 0.6042 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.001081/0.2177, allocations: 0.573 MB / 0.9071 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2178, allocations: 12.03 kB / 0.9071 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.2191, allocations: 140.3 kB / 0.9072 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2195, allocations: 279.8 kB / 0.9075 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.2196, allocations: 24.97 kB / 0.9075 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.2197, allocations: 32.36 kB / 0.9076 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/0.2206, allocations: 459.7 kB / 0.908 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2206, allocations: 0 / 0.908 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.2207, allocations: 19.92 kB / 0.908 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/0.2207, allocations: 28.55 kB / 0.9081 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.2215, allocations: 325.9 kB / 0.9084 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.2241, allocations: 2.189 MB / 0.9105 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.2247, allocations: 255.7 kB / 0.9107 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.225, allocations: 116.8 kB / 0.9109 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.2251, allocations: 0 / 0.9109 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2251, allocations: 38.56 kB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/0.2251, allocations: 0 / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0007906/0.2259, allocations: 297.4 kB / 0.9112 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.226, allocations: 59.41 kB / 0.9112 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.2263, allocations: 270.5 kB / 0.9115 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2263, allocations: 29.7 kB / 0.9115 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2265, allocations: 203.9 kB / 0.9117 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.2265, allocations: 51.3 kB / 0.9118 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.2265, allocations: 4 kB / 0.9118 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.2266, allocations: 330.8 kB / 0.9121 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2268, allocations: 60.42 kB / 0.9121 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.227, allocations: 136.1 kB / 0.9123 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.2272, allocations: 85.88 kB / 0.9124 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2272, allocations: 4 kB / 0.9124 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005771/0.2278, allocations: 270.1 kB / 0.9126 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2278, allocations: 5.562 kB / 0.9126 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2278, allocations: 8 kB / 0.9126 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.228, allocations: 24.84 kB / 0.9127 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2284, allocations: 47.92 kB / 0.9127 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.2294, allocations: 1.323 MB / 0.914 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.2297, allocations: 27.69 kB / 0.914 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2297, allocations: 8 kB / 0.914 GB, free: 50.02 MB / 0.6042 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.0002061/0.23, allocations: 174.9 kB / 0.9142 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.23, allocations: 31.59 kB / 0.9142 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.2301, allocations: 29.83 kB / 0.9142 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2301, allocations: 0 / 0.9142 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2301, allocations: 96 / 0.9142 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2302, allocations: 116.7 kB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.2303, allocations: 4 kB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.2305, allocations: 8 kB / 0.9144 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.2306, allocations: 11.98 kB / 0.9144 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005059/0.2311, allocations: 248.4 kB / 0.9146 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004299/0.2315, allocations: 378.4 kB / 0.915 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001055/0.2317, allocations: 51.98 kB / 0.915 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002128/0.2319, allocations: 186 kB / 0.9152 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of Backend: time 7.62e-07/0.2319, allocations: 0 / 0.9152 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.233, allocations: 358.4 kB / 0.9156 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001381/0.2344, allocations: 1.077 MB / 0.9166 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.01044/0.2449, allocations: 3.598 MB / 0.9201 GB, free: 43.68 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)