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.001054/0.001055, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009098/0.0009098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.627/1.627, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005683/0.0005683, allocations: 12.75 kB / 0.6735 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2581, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004051/0.2622, allocations: 3.253 MB / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.2644, allocations: 1.599 MB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2645, allocations: 4 kB / 0.7918 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2647, allocations: 67.59 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.2651, allocations: 151.6 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.2655, allocations: 155.6 kB / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.2658, allocations: 263.4 kB / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.2662, allocations: 289.2 kB / 0.7927 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2663, allocations: 135.5 kB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.2666, allocations: 139.4 kB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.2666, allocations: 12 kB / 0.793 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.2669, allocations: 115.8 kB / 0.7931 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.267, allocations: 99.72 kB / 0.7932 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.267, allocations: 85.52 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.2674, allocations: 371.3 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2674, allocations: 4 kB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.175e-06/0.2674, allocations: 0 / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2675, allocations: 3.938 kB / 0.7937 GB, free: 5.242 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.0008326/0.2683, allocations: 0.5718 MB / 0.7942 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2683, allocations: 8.031 kB / 0.7942 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000873/0.2692, allocations: 155.4 kB / 0.7944 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.2696, allocations: 282.4 kB / 0.7946 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2696, allocations: 20.66 kB / 0.7947 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2697, allocations: 27.98 kB / 0.7947 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.2703, allocations: 459.6 kB / 0.7951 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2703, allocations: 3.938 kB / 0.7951 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.2703, allocations: 12 kB / 0.7951 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.2704, allocations: 28.55 kB / 0.7952 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.2708, allocations: 321.9 kB / 0.7955 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.2729, allocations: 2.189 MB / 0.7976 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.2732, allocations: 247.8 kB / 0.7978 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2732, allocations: 8 kB / 0.7979 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2732, allocations: 34.56 kB / 0.7979 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.2732, allocations: 3.938 kB / 0.7979 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005329/0.2738, allocations: 319.2 kB / 0.7982 GB, free: 196 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2738, allocations: 55.41 kB / 0.7982 GB, free: 128 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.2741, allocations: 266.6 kB / 0.7985 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2741, allocations: 29.64 kB / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2742, allocations: 215.8 kB / 0.7987 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.2743, allocations: 47.3 kB / 0.7988 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.2743, allocations: 8 kB / 0.7988 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2744, allocations: 330.8 kB / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.2745, allocations: 60.44 kB / 0.7992 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2747, allocations: 147.1 kB / 0.7993 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2748, allocations: 79.97 kB / 0.7994 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2748, allocations: 0 / 0.7994 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003747/0.2752, allocations: 276.6 kB / 0.7996 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2752, allocations: 8 kB / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2752, allocations: 352 / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.2754, allocations: 28.84 kB / 0.7997 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2756, allocations: 51.88 kB / 0.7997 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000964/0.2766, allocations: 1.327 MB / 0.801 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2767, allocations: 23.69 kB / 0.801 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2767, allocations: 12 kB / 0.8011 GB, free: 13.04 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0001555/0.2769, allocations: 161.8 kB / 0.8012 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.277, allocations: 23.72 kB / 0.8012 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.277, allocations: 38.02 kB / 0.8013 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.277, allocations: 3.953 kB / 0.8013 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.277, allocations: 0 / 0.8013 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.277, allocations: 3.984 kB / 0.8013 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.2778, allocations: 0.6272 MB / 0.8019 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2778, allocations: 8.188 kB / 0.8019 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.2779, allocations: 23.98 kB / 0.8019 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.346e-05/0.278, allocations: 24.84 kB / 0.8019 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.278, allocations: 4 kB / 0.802 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009222/0.2789, allocations: 1.312 MB / 0.8032 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.279, allocations: 7.969 kB / 0.8032 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.2793, allocations: 358.4 kB / 0.8036 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2794, allocations: 112.8 kB / 0.8037 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.2795, allocations: 0 / 0.8037 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.2796, allocations: 19.98 kB / 0.8037 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.2796, allocations: 16.02 kB / 0.8037 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2797, allocations: 11.94 kB / 0.8037 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001607/0.2798, allocations: 190 kB / 0.8039 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2798, allocations: 0 / 0.8039 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003519/0.2802, allocations: 79.69 kB / 0.804 GB, free: 9.746 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001073/0.2803, allocations: 103.2 kB / 0.8041 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.2807, allocations: 274.4 kB / 0.8044 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2807, allocations: 0 / 0.8044 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.2809, allocations: 183.5 kB / 0.8045 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2813, allocations: 54.92 kB / 0.8046 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.2821, allocations: 0.6208 MB / 0.8052 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2824, allocations: 0.7911 MB / 0.806 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.2826, allocations: 58.17 kB / 0.806 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.2826, allocations: 19.44 kB / 0.806 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2826, allocations: 4 kB / 0.806 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of Templates: time 0.005004/0.2876, allocations: 2.426 MB / 0.8084 GB, free: 5.152 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: