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.001091/0.001091, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.00109/0.00109, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7387/0.7387, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 55.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3346, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004548/0.3392, allocations: 3.817 MB / 0.5613 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.3416, allocations: 1.723 MB / 0.563 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.3419, allocations: 11.62 kB / 0.563 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3432, allocations: 495.6 kB / 0.5635 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.3437, allocations: 223.2 kB / 0.5637 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.3442, allocations: 204.9 kB / 0.5639 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.3447, allocations: 484.5 kB / 0.5643 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.3452, allocations: 368.7 kB / 0.5647 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.3454, allocations: 188.5 kB / 0.5649 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.3457, allocations: 220.6 kB / 0.5651 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.3458, allocations: 31.69 kB / 0.5651 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.3462, allocations: 249.4 kB / 0.5653 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3463, allocations: 122.2 kB / 0.5655 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.3465, allocations: 174.5 kB / 0.5656 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.3471, allocations: 0.5026 MB / 0.5661 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3471, allocations: 1.938 kB / 0.5661 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3471, allocations: 0 / 0.5661 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3471, allocations: 0.5625 kB / 0.5661 GB, free: 31.43 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.0009383/0.348, allocations: 0.6276 MB / 0.5667 GB, free: 30.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3481, allocations: 8.844 kB / 0.5667 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.349, allocations: 132 kB / 0.5669 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3494, allocations: 292.9 kB / 0.5671 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.3494, allocations: 21.41 kB / 0.5672 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3495, allocations: 30.25 kB / 0.5672 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.3501, allocations: 469.6 kB / 0.5676 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3501, allocations: 1.219 kB / 0.5676 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.3502, allocations: 18.2 kB / 0.5677 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.3502, allocations: 26.53 kB / 0.5677 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.3507, allocations: 322.1 kB / 0.568 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3527, allocations: 2.186 MB / 0.5701 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.3531, allocations: 250.9 kB / 0.5704 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.3533, allocations: 110.1 kB / 0.5705 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3533, allocations: 3.172 kB / 0.5705 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.3533, allocations: 36.56 kB / 0.5705 GB, free: 28.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.3534, allocations: 1.031 kB / 0.5705 GB, free: 28.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005586/0.3539, allocations: 300.9 kB / 0.5708 GB, free: 27.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.354, allocations: 54.77 kB / 0.5708 GB, free: 27.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.3542, allocations: 271.6 kB / 0.5711 GB, free: 27.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3542, allocations: 28.27 kB / 0.5711 GB, free: 27.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.3543, allocations: 207.1 kB / 0.5713 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3544, allocations: 54.12 kB / 0.5714 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.3544, allocations: 50.83 kB / 0.5714 GB, free: 27.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.3545, allocations: 336.2 kB / 0.5717 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.3546, allocations: 58.55 kB / 0.5718 GB, free: 27.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3547, allocations: 138.2 kB / 0.5719 GB, free: 26.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.355, allocations: 216.7 kB / 0.5721 GB, free: 26.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.355, allocations: 3.219 kB / 0.5721 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003742/0.3553, allocations: 264.8 kB / 0.5724 GB, free: 26.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3554, allocations: 10.38 kB / 0.5724 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3554, allocations: 7.875 kB / 0.5724 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.3556, allocations: 29.45 kB / 0.5724 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3557, allocations: 47.03 kB / 0.5725 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000807/0.3566, allocations: 1.422 MB / 0.5739 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3568, allocations: 28.22 kB / 0.5739 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3568, allocations: 13.31 kB / 0.5739 GB, free: 25.15 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.0001347/0.3569, allocations: 167.1 kB / 0.5741 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.357, allocations: 23.83 kB / 0.5741 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.357, allocations: 28.41 kB / 0.5741 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.357, allocations: 2.484 kB / 0.5741 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3571, allocations: 0.5938 kB / 0.5741 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3571, allocations: 1.859 kB / 0.5741 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.3579, allocations: 0.7002 MB / 0.5748 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3579, allocations: 2.281 kB / 0.5748 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.401e-05/0.358, allocations: 27.98 kB / 0.5748 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.459e-05/0.358, allocations: 29.66 kB / 0.5749 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3581, allocations: 7.812 kB / 0.5749 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006491/0.3587, allocations: 1.416 MB / 0.5763 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3587, allocations: 3.406 kB / 0.5763 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.359, allocations: 321.4 kB / 0.5766 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.3591, allocations: 115.3 kB / 0.5767 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.3591, allocations: 3.547 kB / 0.5767 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3593, allocations: 12.75 kB / 0.5767 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.3593, allocations: 21.42 kB / 0.5767 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3594, allocations: 6.734 kB / 0.5767 GB, free: 22.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.3595, allocations: 193.2 kB / 0.5769 GB, free: 22.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3595, allocations: 1.125 kB / 0.5769 GB, free: 22.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.3599, allocations: 75.34 kB / 0.577 GB, free: 22.51 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.959e-05/0.36, allocations: 103 kB / 0.5771 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.3604, allocations: 275.7 kB / 0.5773 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3604, allocations: 3.938 kB / 0.5773 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.3606, allocations: 182.7 kB / 0.5775 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.3611, allocations: 67.58 kB / 0.5776 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.3619, allocations: 0.526 MB / 0.5781 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3622, allocations: 0.7924 MB / 0.5789 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.3623, allocations: 51.25 kB / 0.5789 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.3623, allocations: 19.81 kB / 0.5789 GB, free: 21.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3623, allocations: 1.375 kB / 0.5789 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Templates: time 0.006331/0.3687, allocations: 2.688 MB / 0.5816 GB, free: 20.83 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)