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.00138/0.00138, allocations: 95.98 kB / 16.93 MB, free: 5.871 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.001439/0.001439, allocations: 187.3 kB / 17.87 MB, free: 5.164 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.354/1.354, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8027/0.8027, allocations: 122.9 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 63.89 kB / 0.4917 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3737, allocations: 77.92 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005423/0.3791, allocations: 4.072 MB / 0.5718 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.3817, allocations: 1.588 MB / 0.5734 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.382, allocations: 12.34 kB / 0.5734 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.3835, allocations: 0.5777 MB / 0.5739 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005866/0.3841, allocations: 242.2 kB / 0.5742 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.3848, allocations: 214.3 kB / 0.5744 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.3854, allocations: 0.5451 MB / 0.5749 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.3861, allocations: 483.9 kB / 0.5754 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.3864, allocations: 225.3 kB / 0.5756 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.3868, allocations: 254.2 kB / 0.5758 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.3869, allocations: 35.06 kB / 0.5759 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.3873, allocations: 167 kB / 0.576 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3874, allocations: 144.1 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3876, allocations: 201.3 kB / 0.5763 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.3883, allocations: 0.5126 MB / 0.5768 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3883, allocations: 0 / 0.5768 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3883, allocations: 1.562 kB / 0.5768 GB, free: 27.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3884, allocations: 1.891 kB / 0.5769 GB, free: 27.24 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.001217/0.3896, allocations: 0.6849 MB / 0.5775 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3896, allocations: 11.19 kB / 0.5775 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/0.3904, allocations: 107.2 kB / 0.5776 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.3907, allocations: 289.9 kB / 0.5779 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.3908, allocations: 61.8 kB / 0.578 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.3909, allocations: 30.25 kB / 0.578 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.3918, allocations: 0.5065 MB / 0.5785 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3918, allocations: 0.5 kB / 0.5785 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.3918, allocations: 16.06 kB / 0.5785 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.3919, allocations: 37.77 kB / 0.5785 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.3926, allocations: 383.5 kB / 0.5789 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.3949, allocations: 2.207 MB / 0.5811 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3955, allocations: 261.8 kB / 0.5813 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.3959, allocations: 159.9 kB / 0.5815 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3959, allocations: 5.641 kB / 0.5815 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.396, allocations: 36.41 kB / 0.5815 GB, free: 23.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.396, allocations: 0 / 0.5815 GB, free: 23.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001403/0.3974, allocations: 0.5676 MB / 0.5821 GB, free: 23.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3974, allocations: 53.34 kB / 0.5821 GB, free: 23.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3976, allocations: 230.2 kB / 0.5823 GB, free: 23.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3977, allocations: 31.39 kB / 0.5824 GB, free: 23.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.3978, allocations: 206 kB / 0.5826 GB, free: 23.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.3978, allocations: 67.88 kB / 0.5826 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.3979, allocations: 55.27 kB / 0.5827 GB, free: 22.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.398, allocations: 329.7 kB / 0.583 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3982, allocations: 96.55 kB / 0.5831 GB, free: 22.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3984, allocations: 186.7 kB / 0.5833 GB, free: 22.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3988, allocations: 280.9 kB / 0.5835 GB, free: 22.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3989, allocations: 1.031 kB / 0.5835 GB, free: 22.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007774/0.3996, allocations: 376.5 kB / 0.5839 GB, free: 21.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3997, allocations: 4.969 kB / 0.5839 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.3997, allocations: 8.609 kB / 0.5839 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.4002, allocations: 108.8 kB / 0.584 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.4004, allocations: 52.22 kB / 0.5841 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.403, allocations: 3.063 MB / 0.587 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.4033, allocations: 32.14 kB / 0.5871 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.4033, allocations: 10.12 kB / 0.5871 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002919/0.4036, allocations: 215.6 kB / 0.5873 GB, free: 18.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002325/0.4038, allocations: 177.2 kB / 0.5875 GB, free: 18.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003959/0.4042, allocations: 276.7 kB / 0.5877 GB, free: 18.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.4043, allocations: 0 / 0.5877 GB, free: 18.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000719/0.405, allocations: 349.8 kB / 0.5881 GB, free: 18.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.405, allocations: 11.75 kB / 0.5881 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.405, allocations: 2.438 kB / 0.5881 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.4053, allocations: 78.91 kB / 0.5881 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.4055, allocations: 56.62 kB / 0.5882 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.4071, allocations: 1.617 MB / 0.5898 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.4074, allocations: 32.11 kB / 0.5898 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4074, allocations: 15.69 kB / 0.5898 GB, free: 16.52 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.0001076/0.4076, allocations: 198 kB / 0.59 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.4076, allocations: 18.5 kB / 0.59 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.4077, allocations: 31.98 kB / 0.5901 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4077, allocations: 2.312 kB / 0.5901 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4077, allocations: 0 / 0.5901 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4077, allocations: 3.938 kB / 0.5901 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.4089, allocations: 0.8385 MB / 0.5909 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.409, allocations: 1.312 kB / 0.5909 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.4091, allocations: 26.58 kB / 0.5909 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/0.4095, allocations: 117 kB / 0.591 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.4095, allocations: 1.531 kB / 0.591 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.4117, allocations: 3.019 MB / 0.594 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4117, allocations: 0 / 0.594 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.4124, allocations: 413.9 kB / 0.5944 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.4126, allocations: 127 kB / 0.5945 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.4126, allocations: 1.438 kB / 0.5945 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.4128, allocations: 13.64 kB / 0.5945 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.4128, allocations: 19.36 kB / 0.5945 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4129, allocations: 9.688 kB / 0.5945 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.413, allocations: 166.7 kB / 0.5947 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.413, allocations: 0 / 0.5947 GB, free: 11.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006959/0.4137, allocations: 169.2 kB / 0.5949 GB, free: 11.91 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.0001012/0.4138, allocations: 97.62 kB / 0.5949 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4157, allocations: 0.7771 MB / 0.5957 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4157, allocations: 0 / 0.5957 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.4164, allocations: 379 kB / 0.5961 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.4169, allocations: 57.88 kB / 0.5961 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4179, allocations: 0.6315 MB / 0.5967 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4182, allocations: 0.8104 MB / 0.5975 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.4182, allocations: 20.12 kB / 0.5975 GB, free: 9.742 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4182, allocations: 0 / 0.5975 GB, free: 9.742 MB / 446.1 MB Notification: Performance of Templates: time 0.007049/0.4253, allocations: 6.154 MB / 0.6036 GB, free: 4.668 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)