Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 90.3 kB / 16.67 MB, free: 6.582 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.001371/0.001371, allocations: 176 kB / 17.58 MB, free: 6.184 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.482/1.482, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.754/0.754, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3827, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004326/0.3871, allocations: 3.734 MB / 0.5642 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.3896, allocations: 1.564 MB / 0.5658 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.3899, allocations: 5.969 kB / 0.5658 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3902, allocations: 63.67 kB / 0.5658 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005797/0.3907, allocations: 225.3 kB / 0.566 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3913, allocations: 195.1 kB / 0.5662 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008861/0.3922, allocations: 0.7736 MB / 0.567 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.3928, allocations: 447.2 kB / 0.5674 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.3931, allocations: 176.6 kB / 0.5676 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.3935, allocations: 244.1 kB / 0.5678 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.3936, allocations: 19.34 kB / 0.5678 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.394, allocations: 192.1 kB / 0.568 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3941, allocations: 128.3 kB / 0.5681 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.3943, allocations: 192.8 kB / 0.5683 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.3949, allocations: 414.3 kB / 0.5687 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3949, allocations: 0 / 0.5687 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3949, allocations: 0.5156 kB / 0.5687 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3949, allocations: 1.656 kB / 0.5687 GB, free: 31.38 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001107/0.396, allocations: 0.6184 MB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3961, allocations: 13.75 kB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.3969, allocations: 109.8 kB / 0.5694 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3972, allocations: 299.8 kB / 0.5697 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.3973, allocations: 51.48 kB / 0.5698 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.3974, allocations: 41.11 kB / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.3984, allocations: 0.5139 MB / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3984, allocations: 0 / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.3984, allocations: 12.25 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.3985, allocations: 34.12 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007614/0.3993, allocations: 392 kB / 0.5707 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.4016, allocations: 2.226 MB / 0.5729 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.4024, allocations: 261.8 kB / 0.5732 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.4028, allocations: 157.6 kB / 0.5733 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4028, allocations: 6.859 kB / 0.5733 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4029, allocations: 38.34 kB / 0.5733 GB, free: 28.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.4029, allocations: 0 / 0.5733 GB, free: 28.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001582/0.4045, allocations: 0.5856 MB / 0.5739 GB, free: 27.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.4045, allocations: 53.22 kB / 0.574 GB, free: 27.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.4048, allocations: 226.8 kB / 0.5742 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4048, allocations: 32.17 kB / 0.5742 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4049, allocations: 212.5 kB / 0.5744 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.405, allocations: 66.14 kB / 0.5745 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.4051, allocations: 27.92 kB / 0.5745 GB, free: 27.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.4051, allocations: 334.1 kB / 0.5748 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.4054, allocations: 94.38 kB / 0.5749 GB, free: 26.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.4057, allocations: 187.9 kB / 0.5751 GB, free: 26.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.4062, allocations: 291.9 kB / 0.5754 GB, free: 26.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4063, allocations: 2 kB / 0.5754 GB, free: 26.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008521/0.4071, allocations: 384.4 kB / 0.5757 GB, free: 26.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.4072, allocations: 166.7 kB / 0.5759 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4072, allocations: 2.75 kB / 0.5759 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.4078, allocations: 107.1 kB / 0.576 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.408, allocations: 55.27 kB / 0.5761 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.4107, allocations: 2.826 MB / 0.5788 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.411, allocations: 37 kB / 0.5789 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.411, allocations: 12.5 kB / 0.5789 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.4111, allocations: 4.469 kB / 0.5789 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007632/0.4118, allocations: 313.6 kB / 0.5792 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4118, allocations: 2.781 kB / 0.5792 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.4122, allocations: 80.86 kB / 0.5792 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.4124, allocations: 59.69 kB / 0.5793 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.414, allocations: 1.494 MB / 0.5808 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4143, allocations: 36.3 kB / 0.5808 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.4143, allocations: 21.52 kB / 0.5808 GB, free: 22.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.4146, allocations: 244.2 kB / 0.5811 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.4147, allocations: 20.06 kB / 0.5811 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.4147, allocations: 30.06 kB / 0.5811 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4147, allocations: 5.469 kB / 0.5811 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4147, allocations: 0.9688 kB / 0.5811 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4148, allocations: 1.312 kB / 0.5811 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4161, allocations: 0.8509 MB / 0.5819 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4161, allocations: 0.6094 kB / 0.5819 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.4163, allocations: 35.05 kB / 0.582 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/0.4167, allocations: 100.7 kB / 0.5821 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4167, allocations: 7.094 kB / 0.5821 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.419, allocations: 2.805 MB / 0.5848 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.419, allocations: 1.125 kB / 0.5848 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.4198, allocations: 433.8 kB / 0.5852 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.4199, allocations: 107.9 kB / 0.5853 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.4199, allocations: 5.891 kB / 0.5853 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4201, allocations: 18.11 kB / 0.5854 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.4202, allocations: 24.41 kB / 0.5854 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.4202, allocations: 4.312 kB / 0.5854 GB, free: 18.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.4203, allocations: 163.2 kB / 0.5855 GB, free: 18.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4204, allocations: 0 / 0.5855 GB, free: 18.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007211/0.4211, allocations: 173.4 kB / 0.5857 GB, free: 17.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.4212, allocations: 107.7 kB / 0.5858 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4231, allocations: 0.7678 MB / 0.5866 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4231, allocations: 0 / 0.5866 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.4239, allocations: 375.8 kB / 0.5869 GB, free: 17.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.4244, allocations: 55.12 kB / 0.587 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4255, allocations: 0.7888 MB / 0.5877 GB, free: 16.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.4258, allocations: 0.8161 MB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.4259, allocations: 24.41 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4259, allocations: 0 / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.00924/0.4351, allocations: 6.118 MB / 0.5945 GB, free: 13.46 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)