Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001564, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 193.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 69 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3508, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002967/0.3538, allocations: 1.404 MB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.357, allocations: 2.674 MB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.3571, allocations: 0 / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.3587, allocations: 0.5792 MB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.3588, allocations: 19.91 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.3588, allocations: 4 kB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.359, allocations: 162.9 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3592, allocations: 32.41 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.3593, allocations: 55.75 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3594, allocations: 83.52 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3594, allocations: 4 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3604, allocations: 471.3 kB / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.3605, allocations: 35.78 kB / 0.7887 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3606, allocations: 99.36 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.3612, allocations: 434.2 kB / 0.7892 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.3613, allocations: 8 kB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3613, allocations: 0 / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3613, allocations: 0 / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007866/0.3621, allocations: 0.5451 MB / 0.7898 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3621, allocations: 12.03 kB / 0.7898 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3623, allocations: 103.8 kB / 0.7899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3625, allocations: 306.3 kB / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.3626, allocations: 150.9 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.3627, allocations: 154.9 kB / 0.7905 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.057e-05/0.3628, allocations: 105.5 kB / 0.7906 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.3628, allocations: 79.47 kB / 0.7907 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.3628, allocations: 154.5 kB / 0.7908 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.3629, allocations: 154.6 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.363, allocations: 158.5 kB / 0.7911 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.3634, allocations: 0.5289 MB / 0.7916 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.3635, allocations: 177.1 kB / 0.7918 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3635, allocations: 80.14 kB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3635, allocations: 79.27 kB / 0.7919 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.3636, allocations: 109.8 kB / 0.792 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3636, allocations: 0 / 0.792 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001867/0.3638, allocations: 65.2 kB / 0.7921 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.3639, allocations: 126.7 kB / 0.7922 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.3644, allocations: 429.3 kB / 0.7926 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3644, allocations: 29.7 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3645, allocations: 132.5 kB / 0.7928 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-06/0.3645, allocations: 4 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.3646, allocations: 89.66 kB / 0.7929 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3647, allocations: 342.8 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3649, allocations: 100.5 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.365, allocations: 165.2 kB / 0.7935 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3654, allocations: 301.6 kB / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3654, allocations: 4 kB / 0.7938 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005239/0.3659, allocations: 332.8 kB / 0.7941 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3659, allocations: 8 kB / 0.7941 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.366, allocations: 3.938 kB / 0.7941 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.366, allocations: 4 kB / 0.7941 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.577e-06/0.366, allocations: 3.984 kB / 0.7941 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.366, allocations: 4 kB / 0.7941 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3662, allocations: 39.38 kB / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3662, allocations: 4 kB / 0.7941 GB, free: 2.141 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.3665, allocations: 245.9 kB / 0.7944 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.3666, allocations: 124.5 kB / 0.7945 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.3666, allocations: 122.9 kB / 0.7946 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/0.3667, allocations: 184.2 kB / 0.7948 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-05/0.3668, allocations: 176.3 kB / 0.795 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/0.3669, allocations: 180.3 kB / 0.7951 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.3672, allocations: 477.1 kB / 0.7956 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/0.3672, allocations: 105 kB / 0.7957 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.3673, allocations: 108.9 kB / 0.7958 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.657e-05/0.3673, allocations: 180.3 kB / 0.796 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.3674, allocations: 180.2 kB / 0.7961 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-05/0.3675, allocations: 188.2 kB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.218e-05/0.3676, allocations: 176.5 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3677, allocations: 327.5 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3679, allocations: 209.7 kB / 0.797 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.368, allocations: 188.2 kB / 0.7972 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3681, allocations: 101 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.3682, allocations: 184.2 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.3683, allocations: 105 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002788/0.3686, allocations: 279.1 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3686, allocations: 3.938 kB / 0.7978 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004902/0.3691, allocations: 87.98 kB / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004211/0.3695, allocations: 316.6 kB / 0.7982 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3698, allocations: 163.8 kB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3698, allocations: 0 / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.3698, allocations: 0 / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.3703, allocations: 468 kB / 0.7988 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.371, allocations: 0.4986 MB / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.3715, allocations: 0.7743 MB / 0.8 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.3716, allocations: 7.922 kB / 0.8 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.3716, allocations: 11.44 kB / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.3716, allocations: 0 / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.007136/0.3787, allocations: 3.056 MB / 0.803 GB, free: 8.734 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)