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.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.6/1.6, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.787/1.787, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001431/0.001432, allocations: 65.95 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005849/0.2461, allocations: 3.817 MB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.249, allocations: 1.73 MB / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.2492, allocations: 8 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.2506, allocations: 0.495 MB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005097/0.2511, allocations: 226.9 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.2516, allocations: 202.1 kB / 0.7897 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000482/0.2521, allocations: 478.4 kB / 0.7901 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005559/0.2527, allocations: 365.4 kB / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.2529, allocations: 191.4 kB / 0.7907 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.2533, allocations: 211.2 kB / 0.7909 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.2534, allocations: 28 kB / 0.7909 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.2538, allocations: 251.4 kB / 0.7911 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2539, allocations: 119.7 kB / 0.7912 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2541, allocations: 179.1 kB / 0.7914 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.2547, allocations: 494.5 kB / 0.7919 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2548, allocations: 4 kB / 0.7919 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2548, allocations: 4 kB / 0.7919 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.2548, allocations: 0 / 0.7919 GB, free: 4.723 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.001013/0.2558, allocations: 0.6354 MB / 0.7925 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2559, allocations: 8.031 kB / 0.7925 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008931/0.2568, allocations: 136.4 kB / 0.7927 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2572, allocations: 287.6 kB / 0.7929 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2572, allocations: 17.03 kB / 0.7929 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.2572, allocations: 32.36 kB / 0.793 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.2579, allocations: 463.9 kB / 0.7934 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2579, allocations: 0 / 0.7934 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.258, allocations: 15.98 kB / 0.7934 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.258, allocations: 28.55 kB / 0.7935 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.2585, allocations: 321.9 kB / 0.7938 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.2606, allocations: 2.189 MB / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.261, allocations: 251.8 kB / 0.7961 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.2612, allocations: 112.8 kB / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2612, allocations: 0 / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2613, allocations: 34.66 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.2613, allocations: 7.938 kB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0006596/0.262, allocations: 303.5 kB / 0.7966 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.262, allocations: 59.34 kB / 0.7966 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.2623, allocations: 266.5 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2624, allocations: 25.7 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.2625, allocations: 211.7 kB / 0.7971 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2626, allocations: 51.3 kB / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.2627, allocations: 49.94 kB / 0.7972 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2628, allocations: 334.8 kB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.263, allocations: 56.44 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2632, allocations: 141.2 kB / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2635, allocations: 218.9 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2635, allocations: 0 / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004214/0.2639, allocations: 271.9 kB / 0.7982 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2639, allocations: 4 kB / 0.7982 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.264, allocations: 8.062 kB / 0.7982 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.2641, allocations: 29.2 kB / 0.7982 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.2643, allocations: 51.92 kB / 0.7983 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.2656, allocations: 1.414 MB / 0.7997 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.2658, allocations: 27.69 kB / 0.7997 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2658, allocations: 8 kB / 0.7997 GB, free: 12.05 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.0002149/0.266, allocations: 173.6 kB / 0.7999 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2661, allocations: 27.81 kB / 0.7999 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.2661, allocations: 29.83 kB / 0.7999 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2661, allocations: 0 / 0.7999 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2661, allocations: 4 kB / 0.7999 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2661, allocations: 0 / 0.7999 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.2671, allocations: 0.7063 MB / 0.8006 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2671, allocations: 0 / 0.8006 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.2672, allocations: 23.98 kB / 0.8006 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.08e-05/0.2673, allocations: 28.78 kB / 0.8007 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2673, allocations: 4.188 kB / 0.8007 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.2683, allocations: 1.418 MB / 0.802 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.2683, allocations: 8.031 kB / 0.8021 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.2687, allocations: 313.2 kB / 0.8024 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.2688, allocations: 128.6 kB / 0.8025 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.2688, allocations: 4 kB / 0.8025 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.269, allocations: 11.94 kB / 0.8025 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.269, allocations: 19.92 kB / 0.8025 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.2691, allocations: 8 kB / 0.8025 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001879/0.2692, allocations: 190 kB / 0.8027 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2693, allocations: 4 kB / 0.8027 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004276/0.2697, allocations: 75.75 kB / 0.8028 GB, free: 8.602 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.000184/0.2699, allocations: 103.2 kB / 0.8029 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005668/0.2705, allocations: 282.5 kB / 0.8031 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2705, allocations: 0 / 0.8031 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2707, allocations: 174.6 kB / 0.8033 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.2713, allocations: 81.78 kB / 0.8034 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.2722, allocations: 0.5351 MB / 0.8039 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.2725, allocations: 0.7987 MB / 0.8047 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.2727, allocations: 38.27 kB / 0.8047 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.2727, allocations: 23.44 kB / 0.8047 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2727, allocations: 0 / 0.8047 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of Templates: time 0.005791/0.2785, allocations: 2.687 MB / 0.8074 GB, free: 3.816 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)