Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.606/2.606, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 175 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.366/2.366, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001824/0.001824, allocations: 94.84 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 12.52 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2131, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.007662/0.2208, allocations: 3.249 MB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005607/0.2265, allocations: 1.591 MB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.227, allocations: 7.938 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.2275, allocations: 55.67 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.2286, allocations: 159.5 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2297, allocations: 151.6 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008993/0.2307, allocations: 267.4 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007507/0.2315, allocations: 293.2 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.2319, allocations: 127.5 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.2325, allocations: 147.4 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.2326, allocations: 16 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.2333, allocations: 107.8 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2336, allocations: 99.77 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2338, allocations: 85.52 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.2348, allocations: 367.3 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2348, allocations: 0 / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.26e-06/0.2349, allocations: 0 / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.2349, allocations: 3.938 kB / 0.9847 GB, free: 21.62 MB / 0.6198 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.001667/0.2366, allocations: 0.5769 MB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.2367, allocations: 23.89 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.2392, allocations: 151.4 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.24, allocations: 278.4 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.2401, allocations: 20.66 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2402, allocations: 27.98 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.2417, allocations: 459.6 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.2418, allocations: 0 / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/0.2419, allocations: 15.98 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.2421, allocations: 32.55 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2434, allocations: 321.9 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.248, allocations: 2.189 MB / 0.9887 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.2488, allocations: 245.5 kB / 0.9889 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.2489, allocations: 3.938 kB / 0.9889 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2489, allocations: 42.55 kB / 0.989 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 4.769e-06/0.249, allocations: 7.938 kB / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001256/0.2502, allocations: 299.5 kB / 0.9893 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2503, allocations: 59.36 kB / 0.9893 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.2509, allocations: 266.5 kB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.251, allocations: 37.64 kB / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2512, allocations: 207.8 kB / 0.9898 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.2513, allocations: 55.28 kB / 0.9899 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.2513, allocations: 0 / 0.9899 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.2514, allocations: 330.8 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2517, allocations: 60.42 kB / 0.9902 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.252, allocations: 144.1 kB / 0.9904 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.2524, allocations: 79.92 kB / 0.9904 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.2524, allocations: 4 kB / 0.9904 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009969/0.2534, allocations: 263.7 kB / 0.9907 GB, free: 15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.2535, allocations: 8 kB / 0.9907 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.2535, allocations: 4.344 kB / 0.9907 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.2538, allocations: 32.8 kB / 0.9907 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.2544, allocations: 51.91 kB / 0.9908 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.2561, allocations: 1.323 MB / 0.9921 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.2566, allocations: 31.69 kB / 0.9921 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.2567, allocations: 12 kB / 0.9921 GB, free: 13.41 MB / 0.6198 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.0003198/0.257, allocations: 163.6 kB / 0.9923 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2572, allocations: 23.91 kB / 0.9923 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.875e-05/0.2573, allocations: 37.88 kB / 0.9923 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2573, allocations: 3.938 kB / 0.9923 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.2573, allocations: 4 kB / 0.9923 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2574, allocations: 0 / 0.9923 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.2592, allocations: 0.6312 MB / 0.993 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.2593, allocations: 4 kB / 0.993 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.2596, allocations: 19.98 kB / 0.993 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.2599, allocations: 28.78 kB / 0.993 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.2599, allocations: 0 / 0.993 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.2615, allocations: 1.319 MB / 0.9943 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2616, allocations: 3.938 kB / 0.9943 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007847/0.2624, allocations: 355.4 kB / 0.9946 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.2627, allocations: 112.8 kB / 0.9948 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.2628, allocations: 8 kB / 0.9948 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.2633, allocations: 11.98 kB / 0.9948 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.2633, allocations: 15.97 kB / 0.9948 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.2634, allocations: 4 kB / 0.9948 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000376/0.2638, allocations: 186 kB / 0.995 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.32e-07/0.2638, allocations: 0 / 0.995 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008648/0.2647, allocations: 83.69 kB / 0.995 GB, free: 10.12 MB / 0.6198 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.0001926/0.2649, allocations: 107.2 kB / 0.9952 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009845/0.2659, allocations: 275 kB / 0.9954 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.266, allocations: 0.6875 kB / 0.9954 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.2664, allocations: 186.7 kB / 0.9956 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.2673, allocations: 60.69 kB / 0.9956 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2692, allocations: 0.6251 MB / 0.9963 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.2697, allocations: 0.795 MB / 0.997 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004196/0.2701, allocations: 58.19 kB / 0.9971 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.2703, allocations: 23.44 kB / 0.9971 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.663e-06/0.2703, allocations: 0 / 0.9971 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.01314/0.2834, allocations: 2.427 MB / 0.9995 GB, free: 5.512 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)