Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00103/0.00103, allocations: 107 kB / 17.03 MB, free: 5.699 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.0009844/0.0009845, allocations: 194.9 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6929/0.6929, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 67.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3695, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005485/0.375, allocations: 3.808 MB / 0.5613 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3775, allocations: 1.735 MB / 0.563 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.3777, allocations: 10.5 kB / 0.563 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.3789, allocations: 489.6 kB / 0.5635 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.3794, allocations: 222.1 kB / 0.5637 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3799, allocations: 208.9 kB / 0.5639 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.3803, allocations: 485.4 kB / 0.5643 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.3809, allocations: 363.3 kB / 0.5647 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.3812, allocations: 193.6 kB / 0.5649 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.3817, allocations: 217.7 kB / 0.5651 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.3818, allocations: 31.83 kB / 0.5651 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.3823, allocations: 252.4 kB / 0.5653 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3824, allocations: 121.6 kB / 0.5655 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.3826, allocations: 174.1 kB / 0.5656 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.3832, allocations: 0.4987 MB / 0.5661 GB, free: 31.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3832, allocations: 3.391 kB / 0.5661 GB, free: 31.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3832, allocations: 0 / 0.5661 GB, free: 31.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.3832, allocations: 0 / 0.5661 GB, free: 31.52 MB / 446.1 MB 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.0009017/0.3841, allocations: 0.6266 MB / 0.5667 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3842, allocations: 9.344 kB / 0.5667 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008674/0.385, allocations: 132.4 kB / 0.5669 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.3854, allocations: 297.5 kB / 0.5671 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3855, allocations: 20.03 kB / 0.5672 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3855, allocations: 27.94 kB / 0.5672 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.3861, allocations: 468 kB / 0.5676 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3862, allocations: 2.594 kB / 0.5676 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.3862, allocations: 16.36 kB / 0.5676 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.3863, allocations: 31.38 kB / 0.5677 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.3868, allocations: 321.6 kB / 0.568 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.3886, allocations: 2.19 MB / 0.5701 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.389, allocations: 246.4 kB / 0.5704 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.3892, allocations: 111 kB / 0.5705 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3892, allocations: 2.875 kB / 0.5705 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.3893, allocations: 33.86 kB / 0.5705 GB, free: 28.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3893, allocations: 0 / 0.5705 GB, free: 28.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005544/0.3898, allocations: 305.9 kB / 0.5708 GB, free: 27.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3899, allocations: 53.91 kB / 0.5708 GB, free: 27.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.3901, allocations: 272.2 kB / 0.5711 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3902, allocations: 27.3 kB / 0.5711 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.3903, allocations: 202.5 kB / 0.5713 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3903, allocations: 53.83 kB / 0.5714 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.3904, allocations: 51.38 kB / 0.5714 GB, free: 27.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.3905, allocations: 334.9 kB / 0.5717 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3906, allocations: 55.56 kB / 0.5718 GB, free: 27.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.3907, allocations: 148.2 kB / 0.5719 GB, free: 27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.3909, allocations: 217.3 kB / 0.5721 GB, free: 26.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3909, allocations: 1.219 kB / 0.5721 GB, free: 26.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003956/0.3914, allocations: 271.5 kB / 0.5724 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3914, allocations: 7.094 kB / 0.5724 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3914, allocations: 2.156 kB / 0.5724 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.3916, allocations: 24.94 kB / 0.5724 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.3917, allocations: 53.56 kB / 0.5725 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007554/0.3925, allocations: 1.42 MB / 0.5739 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.3927, allocations: 32.5 kB / 0.5739 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3927, allocations: 8.625 kB / 0.5739 GB, free: 25.25 MB / 446.1 MB 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.0001329/0.3929, allocations: 172.6 kB / 0.5741 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.3929, allocations: 28.06 kB / 0.5741 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.393, allocations: 28.02 kB / 0.5741 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.393, allocations: 2.594 kB / 0.5741 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.393, allocations: 1.25 kB / 0.5741 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.393, allocations: 0.8438 kB / 0.5741 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.3938, allocations: 0.7001 MB / 0.5748 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3938, allocations: 2 kB / 0.5748 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.3939, allocations: 28.84 kB / 0.5748 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-05/0.394, allocations: 30.61 kB / 0.5749 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.394, allocations: 6.406 kB / 0.5749 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006675/0.3947, allocations: 1.412 MB / 0.5763 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3947, allocations: 2.375 kB / 0.5763 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.395, allocations: 320.2 kB / 0.5766 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.395, allocations: 115.8 kB / 0.5767 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3951, allocations: 2.281 kB / 0.5767 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3952, allocations: 14.28 kB / 0.5767 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.3953, allocations: 18.78 kB / 0.5767 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3953, allocations: 9.5 kB / 0.5767 GB, free: 22.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3955, allocations: 192.6 kB / 0.5769 GB, free: 22.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3955, allocations: 1.375 kB / 0.5769 GB, free: 22.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.3959, allocations: 75.94 kB / 0.577 GB, free: 22.6 MB / 446.1 MB 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 8.363e-05/0.396, allocations: 100.6 kB / 0.5771 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.3963, allocations: 277.2 kB / 0.5773 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3964, allocations: 0 / 0.5773 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3965, allocations: 185.4 kB / 0.5775 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.397, allocations: 70.86 kB / 0.5776 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000878/0.3979, allocations: 0.5273 MB / 0.5781 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3982, allocations: 0.792 MB / 0.5789 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.3983, allocations: 45.83 kB / 0.5789 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3984, allocations: 19.81 kB / 0.5789 GB, free: 21.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3984, allocations: 0 / 0.5789 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Templates: time 0.006546/0.4049, allocations: 2.689 MB / 0.5816 GB, free: 20.92 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)