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.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001813/0.001813, allocations: 193.5 kB / 16.14 MB, free: 6.668 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.969 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.827/1.827, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001365/0.001365, allocations: 65.33 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2378, allocations: 114.6 MB / 0.7827 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005295/0.2432, allocations: 3.848 MB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.2456, allocations: 1.734 MB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.2458, allocations: 12 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.247, allocations: 469.6 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.2474, allocations: 227 kB / 0.7888 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2479, allocations: 183.6 kB / 0.789 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005414/0.2484, allocations: 0.6699 MB / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.2488, allocations: 229.3 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.249, allocations: 163.4 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.2493, allocations: 231.1 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2494, allocations: 20 kB / 0.7902 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.2499, allocations: 303.4 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.25, allocations: 119.7 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.2502, allocations: 171.1 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.2507, allocations: 0.4987 MB / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2507, allocations: 0 / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2507, allocations: 0 / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2507, allocations: 0 / 0.7913 GB, free: 5.199 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.0009918/0.2517, allocations: 0.6393 MB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2518, allocations: 8.031 kB / 0.7919 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.2527, allocations: 132.3 kB / 0.7921 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.2531, allocations: 287.7 kB / 0.7923 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2531, allocations: 25.03 kB / 0.7924 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.2532, allocations: 24.38 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.2538, allocations: 463.9 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2538, allocations: 0 / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.2538, allocations: 15.98 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/0.2539, allocations: 32.53 kB / 0.7929 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.2544, allocations: 325.9 kB / 0.7932 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.2564, allocations: 2.173 MB / 0.7953 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.2568, allocations: 255.8 kB / 0.7955 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.257, allocations: 112.8 kB / 0.7957 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.257, allocations: 4 kB / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2571, allocations: 30.56 kB / 0.7957 GB, free: 340 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.2571, allocations: 0 / 0.7957 GB, free: 340 kB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005896/0.2577, allocations: 307.5 kB / 0.796 GB, free: 4 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2577, allocations: 55.41 kB / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.258, allocations: 270.5 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.258, allocations: 25.7 kB / 0.7963 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2581, allocations: 211.7 kB / 0.7965 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2582, allocations: 51.28 kB / 0.7966 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.2583, allocations: 53.94 kB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2584, allocations: 342.7 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/0.2585, allocations: 56.44 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2586, allocations: 144 kB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.2589, allocations: 221.9 kB / 0.7973 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2589, allocations: 0 / 0.7973 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003915/0.2593, allocations: 266 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2593, allocations: 4 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2593, allocations: 4 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.2595, allocations: 28.84 kB / 0.7976 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.2597, allocations: 47.92 kB / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/0.2607, allocations: 1.323 MB / 0.799 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2609, allocations: 27.69 kB / 0.799 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2609, allocations: 8.156 kB / 0.799 GB, free: 12.63 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.0001771/0.2611, allocations: 169.8 kB / 0.7992 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.2611, allocations: 27.66 kB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.2612, allocations: 25.83 kB / 0.7992 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2612, allocations: 4 kB / 0.7992 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2612, allocations: 0 / 0.7992 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2612, allocations: 0 / 0.7992 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/0.262, allocations: 0.7101 MB / 0.7999 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2621, allocations: 0 / 0.7999 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.2622, allocations: 20 kB / 0.7999 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.109e-05/0.2622, allocations: 29.03 kB / 0.8 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2623, allocations: 8 kB / 0.8 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009549/0.2632, allocations: 1.315 MB / 0.8013 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2632, allocations: 0 / 0.8013 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.2636, allocations: 320.2 kB / 0.8016 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.2637, allocations: 116.8 kB / 0.8017 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2637, allocations: 4 kB / 0.8017 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2639, allocations: 12 kB / 0.8017 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.2639, allocations: 11.98 kB / 0.8017 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.264, allocations: 15.94 kB / 0.8017 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001998/0.2642, allocations: 190 kB / 0.8019 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2642, allocations: 0 / 0.8019 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000522/0.2647, allocations: 83.72 kB / 0.802 GB, free: 9.305 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.0001391/0.2648, allocations: 115.1 kB / 0.8021 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.2655, allocations: 266.5 kB / 0.8023 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2655, allocations: 0 / 0.8023 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.2658, allocations: 178.6 kB / 0.8025 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.2666, allocations: 68.45 kB / 0.8026 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2682, allocations: 0.648 MB / 0.8032 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.2688, allocations: 0.795 MB / 0.804 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.2691, allocations: 42.27 kB / 0.804 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.2692, allocations: 19.44 kB / 0.804 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2692, allocations: 3.938 kB / 0.804 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.009237/0.2784, allocations: 2.588 MB / 0.8066 GB, free: 4.512 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)